pidgin: 6c2368ad: Insanely tiny optimization

markdoliner at pidgin.im markdoliner at pidgin.im
Wed May 19 21:30:51 EDT 2010


-----------------------------------------------------------------
Revision: 6c2368ad4315c5277c41916c2be642f8aa1894e2
Ancestor: 23d2db7366859fdffb9924ea9e6fede466df531e
Author: markdoliner at pidgin.im
Date: 2010-05-20T01:27:23
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/6c2368ad4315c5277c41916c2be642f8aa1894e2

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

ChangeLog: 

Insanely tiny optimization

-------------- next part --------------
============================================================
--- libpurple/protocols/oscar/misc.c	0db1ad9bef5efd3315a051bc98916d6562eff9f2
+++ libpurple/protocols/oscar/misc.c	3e9dc54e4980b45ebb36e10b807fe0468eabc177
@@ -120,9 +120,10 @@ generror(OscarData *od, FlapConnection *
 	if ((userfunc = aim_callhandler(od, snac->family, snac->subtype)))
 		ret = userfunc(od, conn, frame, error, snac2 ? snac2->data : NULL);
 
-	if (snac2)
+	if (snac2) {
 		g_free(snac2->data);
-	g_free(snac2);
+		g_free(snac2);
+	}
 
 	return ret;
 }


More information about the Commits mailing list