Mercurial > pidgin.yaz
comparison libpurple/protocols/oscar/family_bart.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 |
comparison
equal
deleted
inserted
replaced
17234:12d0ad970a15 | 17235:1927f4ead3ca |
---|---|
149 icon = byte_stream_getraw(bs, iconlen); | 149 icon = byte_stream_getraw(bs, iconlen); |
150 | 150 |
151 if ((userfunc = aim_callhandler(od, snac->family, snac->subtype))) | 151 if ((userfunc = aim_callhandler(od, snac->family, snac->subtype))) |
152 ret = userfunc(od, conn, frame, sn, iconcsumtype, iconcsum, iconcsumlen, icon, iconlen); | 152 ret = userfunc(od, conn, frame, sn, iconcsumtype, iconcsum, iconcsumlen, icon, iconlen); |
153 | 153 |
154 free(sn); | 154 g_free(sn); |
155 free(iconcsum); | 155 g_free(iconcsum); |
156 free(icon); | 156 g_free(icon); |
157 | 157 |
158 return ret; | 158 return ret; |
159 } | 159 } |
160 | 160 |
161 static int | 161 static int |