From 94ece33f16ab5672100e378400f9896320d7056c Mon Sep 17 00:00:00 2001 From: Andrey Starodubtsev Date: Wed, 26 Dec 2018 15:52:02 +0300 Subject: [PATCH] attempt to free already freed memory fixed --- src/stanza.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/stanza.c b/src/stanza.c index 955899a..32584d4 100644 --- a/src/stanza.c +++ b/src/stanza.c @@ -589,7 +589,6 @@ int xmpp_stanza_set_attribute(xmpp_stanza_t * const stanza, val = xmpp_strdup(stanza->ctx, value); if (!val) { - hash_release(stanza->attributes); return XMPP_EMEM; }