pidgin: 8ad6738b: Super tiny optimisation

markdoliner at pidgin.im markdoliner at pidgin.im
Wed May 19 21:45:33 EDT 2010


-----------------------------------------------------------------
Revision: 8ad6738be6f9ad7de9c588a6a2c5fbd1f3bc4619
Ancestor: e3dd36706068f3b8eabd630ff71d270c145cce42
Author: markdoliner at pidgin.im
Date: 2010-05-20T01:39:52
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/8ad6738be6f9ad7de9c588a6a2c5fbd1f3bc4619

Modified files:
        libpurple/protocols/oscar/family_icbm.c

ChangeLog: 

Super tiny optimisation

-------------- next part --------------
============================================================
--- libpurple/protocols/oscar/family_icbm.c	62126e23e6971a85d9b599c7ca61675a008e6f9b
+++ libpurple/protocols/oscar/family_icbm.c	c2a16c14c8ac4a5366dc9b0c9ba33f428fbfb750
@@ -193,9 +193,10 @@ error(OscarData *od, FlapConnection *con
 	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;
 }


More information about the Commits mailing list