X-Git-Url: http://andersk.mit.edu/gitweb/libfaim.git/blobdiff_plain/50443ea05d49f1e6f4629b5aca078c24763aca7f..f1a5efe0f353b6c28d4d962b3416329024771cef:/aim_chat.c diff --git a/aim_chat.c b/aim_chat.c index 6ce4b69..83256f0 100644 --- a/aim_chat.c +++ b/aim_chat.c @@ -247,16 +247,16 @@ int aim_chat_readroominfo(u_char *buf, struct aim_chat_roominfo *outinfo) int aim_chat_parse_infoupdate(struct aim_session_t *sess, struct command_rx_struct *command) { - struct aim_userinfo_s *userinfo; + struct aim_userinfo_s *userinfo = NULL; rxcallback_t userfunc=NULL; int ret = 1, i = 0; int usercount = 0; u_char detaillevel = 0; - char *roomname; + char *roomname = NULL; struct aim_chat_roominfo roominfo; u_short tlvcount = 0; struct aim_tlvlist_t *tlvlist; - char *roomdesc; + char *roomdesc = NULL; i = 10; i += aim_chat_readroominfo(command->data+i, &roominfo);