From: Eric W. <war...@us...> - 2001-11-17 02:50:09
|
Update of /cvsroot/gaim/gaim/src/protocols/oscar In directory usw-pr-cvs1:/tmp/cvs-serv14731/src/protocols/oscar Modified Files: icq.c Log Message: eh Index: icq.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/protocols/oscar/icq.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- icq.c 2001/11/10 08:02:39 1.2 +++ icq.c 2001/11/17 02:50:06 1.3 @@ -121,6 +121,8 @@ fu16_t cmdlen, cmd, reqid; if (!(tl = aim_readtlvchain(bs)) || !(datatlv = aim_gettlv(tl, 0x0001, 1))) { + if (tl) + aim_freetlvchain(tl); faimdprintf(sess, 0, "corrupt ICQ response\n"); return 0; } @@ -162,6 +164,8 @@ if ((userfunc = aim_callhandler(sess, rx->conn, AIM_CB_FAM_ICQ, AIM_CB_ICQ_OFFLINEMSGCOMPLETE))) ret = userfunc(sess, rx); } + + aim_freetlvchain(tl); return ret; } |