changeset 2733:eeac6ea7ade6

[gaim-migrate @ 2746] hi committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Sat, 17 Nov 2001 03:18:40 +0000
parents efa3e7115cb5
children 9fc65bb80596
files src/protocols/oscar/icq.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/oscar/icq.c	Sat Nov 17 02:53:55 2001 +0000
+++ b/src/protocols/oscar/icq.c	Sat Nov 17 03:18:40 2001 +0000
@@ -121,8 +121,7 @@
 	fu16_t cmdlen, cmd, reqid;
 
 	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;
 	}