Mercurial > pidgin
changeset 29983:7ba6fc1762dc
Insanely tiny optimization
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Thu, 20 May 2010 01:27:23 +0000 |
parents | 03e930ec90d0 |
children | 6d96bfe048bc |
files | libpurple/protocols/oscar/misc.c |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/oscar/misc.c Wed May 19 20:52:00 2010 +0000 +++ b/libpurple/protocols/oscar/misc.c Thu May 20 01:27:23 2010 +0000 @@ -120,9 +120,10 @@ 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; }