Mercurial > pidgin.yaz
diff libpurple/protocols/oscar/misc.c @ 17235:1927f4ead3ca
Make all the oscar memory allocations and frees use the glib functions to avoid problems when mixing C runtimes.
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Tue, 22 May 2007 18:56:09 +0000 |
parents | 32c366eeeb99 |
children | 44b4e8bd759b |
line wrap: on
line diff
--- a/libpurple/protocols/oscar/misc.c Tue May 22 13:00:00 2007 +0000 +++ b/libpurple/protocols/oscar/misc.c Tue May 22 18:56:09 2007 +0000 @@ -128,8 +128,8 @@ ret = userfunc(od, conn, frame, error, snac2 ? snac2->data : NULL); if (snac2) - free(snac2->data); - free(snac2); + g_free(snac2->data); + g_free(snac2); return ret; }