Fixed small memory leak in id handler logic.

This commit is contained in:
Jack Moffitt
2009-04-14 14:22:34 -06:00
parent 3fd7515dcf
commit 20bac5b4de

View File

@@ -66,6 +66,7 @@ void handler_fire_stanza(xmpp_conn_t * const conn,
hash_drop(conn->id_handlers, id);
hash_add(conn->id_handlers, id, next);
}
xmpp_free(conn->ctx, item->id);
xmpp_free(conn->ctx, item);
item = NULL;
}