Mercurial > pidgin
changeset 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 | f05d735c2eac |
children | 7cdbd2eb7546 |
files | src/protocols/jabber/iq.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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); } }