From 5c36f851991124a38517a21c2d576275e23adbb0 Mon Sep 17 00:00:00 2001 From: James Booth Date: Wed, 24 Sep 2014 00:48:28 +0100 Subject: [PATCH] Free unique id --- src/xmpp/presence.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/xmpp/presence.c b/src/xmpp/presence.c index 4903a104..54c9d68c 100644 --- a/src/xmpp/presence.c +++ b/src/xmpp/presence.c @@ -521,6 +521,8 @@ _handle_caps(xmpp_stanza_t *const stanza) char *id = create_unique_id("caps"); iq_send_caps_request(from, id, node, ver); + + free(id); } }