changeset 30405:c1b8e619f1b8

Super tiny optimisation
author Mark Doliner <mark@kingant.net>
date Thu, 20 May 2010 01:39:52 +0000
parents 6d96bfe048bc
children f18b6eb0ed02
files libpurple/protocols/oscar/family_icbm.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/oscar/family_icbm.c	Thu May 20 01:39:25 2010 +0000
+++ b/libpurple/protocols/oscar/family_icbm.c	Thu May 20 01:39:52 2010 +0000
@@ -193,9 +193,10 @@
 	if ((userfunc = aim_callhandler(od, snac->family, snac->subtype)))
 		ret = userfunc(od, conn, frame, reason, errcode, bn);
 
-	if (snac2)
+	if (snac2) {
 		g_free(snac2->data);
-	g_free(snac2);
+		g_free(snac2);
+	}
 
 	return ret;
 }