diff -r c1af28138843 -r 0bcd986a0441 src/protocols/oscar/icq.c --- a/src/protocols/oscar/icq.c Sat Nov 17 02:50:06 2001 +0000 +++ b/src/protocols/oscar/icq.c Sat Nov 17 02:53:55 2001 +0000 @@ -122,7 +122,7 @@ if (!(tl = aim_readtlvchain(bs)) || !(datatlv = aim_gettlv(tl, 0x0001, 1))) { if (tl) - aim_freetlvchain(tl); + aim_freetlvchain(&tl); faimdprintf(sess, 0, "corrupt ICQ response\n"); return 0; } @@ -165,7 +165,7 @@ ret = userfunc(sess, rx); } - aim_freetlvchain(tl); + aim_freetlvchain(&tl); return ret; }