Mercurial > pidgin.yaz
diff src/protocols/jabber/iq.c @ 7435:be5a715b71c8
[gaim-migrate @ 8040]
fix segfault
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Wed, 05 Nov 2003 18:54:36 +0000 |
parents | 85cd2e71bff7 |
children | 6ea4a49b4b51 |
line wrap: on
line diff
--- a/src/protocols/jabber/iq.c Wed Nov 05 06:39:40 2003 +0000 +++ b/src/protocols/jabber/iq.c Wed Nov 05 18:54:36 2003 +0000 @@ -377,7 +377,7 @@ if(type && (!strcmp(type, "result") || !strcmp(type, "error")) && id && *id && (jcd = g_hash_table_lookup(js->callbacks, id))) { jcd->callback(js, packet, jcd->data); - g_free(jcd); + g_hash_table_remove(js->callbacks, id); } }