From 012366cf13df4094e43b7567fe47d03b0d025fad Mon Sep 17 00:00:00 2001 From: Dmitry Podgorny Date: Sat, 24 Aug 2013 00:40:23 +0300 Subject: [PATCH] fixed memleak in _iq_handle_discoinfo_get --- src/xmpp/iq.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/xmpp/iq.c b/src/xmpp/iq.c index 742a2258..3430b4d1 100644 --- a/src/xmpp/iq.c +++ b/src/xmpp/iq.c @@ -302,6 +302,7 @@ _iq_handle_discoinfo_get(xmpp_conn_t * const conn, xmpp_stanza_t * const stanza, xmpp_stanza_add_child(response, query); xmpp_send(conn, response); + xmpp_stanza_release(query); xmpp_stanza_release(response); }