attempt to free already freed memory fixed

This commit is contained in:
Andrey Starodubtsev
2018-12-26 15:52:02 +03:00
parent b179c2d277
commit 94ece33f16

View File

@@ -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;
}