diff options
author | James Booth <boothj5@gmail.com> | 2015-08-09 00:40:37 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2015-08-09 00:40:37 +0100 |
commit | 783342a48ce3a3db398d4aa4a0b032bddd0a9262 (patch) | |
tree | 8d2fdc8fc735c5054f86cd67aee7ae8fa7d3429c /src/xmpp | |
parent | d944e8252ef8bd2e93edc7bb8ab8218c6bf28570 (diff) | |
download | profani-tty-783342a48ce3a3db398d4aa4a0b032bddd0a9262.tar.gz |
Free timestamps and carbons stanzas
Diffstat (limited to 'src/xmpp')
-rw-r--r-- | src/xmpp/stanza.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/xmpp/stanza.c b/src/xmpp/stanza.c index bb32932a..acee97fb 100644 --- a/src/xmpp/stanza.c +++ b/src/xmpp/stanza.c @@ -213,6 +213,7 @@ stanza_enable_carbons(xmpp_ctx_t *ctx){ xmpp_stanza_set_ns(carbons_enable, STANZA_NS_CARBONS); xmpp_stanza_add_child(iq, carbons_enable); + xmpp_stanza_release(carbons_enable); return iq; } @@ -232,6 +233,7 @@ stanza_disable_carbons(xmpp_ctx_t *ctx){ xmpp_stanza_set_ns(carbons_disable, STANZA_NS_CARBONS); xmpp_stanza_add_child(iq, carbons_disable); + xmpp_stanza_release(carbons_disable); return iq; } |