# HG changeset patch # User Mark Doliner # Date 1274319592 0 # Node ID c1b8e619f1b8b5b5a5cc48d14995c6d5e034bc24 # Parent 6d96bfe048bc0b6ece426ecdae27e7ea8623588c Super tiny optimisation diff -r 6d96bfe048bc -r c1b8e619f1b8 libpurple/protocols/oscar/family_icbm.c --- 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; }