about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2014-09-24 00:48:28 +0100
committerJames Booth <boothj5@gmail.com>2014-09-24 00:48:28 +0100
commit5c36f851991124a38517a21c2d576275e23adbb0 (patch)
tree361b0f269d90c62225d0a1a55987b9f771350bb2
parent95a2cec9532cfaec91ed8285e69419d38e9b8a17 (diff)
downloadprofani-tty-5c36f851991124a38517a21c2d576275e23adbb0.tar.gz
Free unique id
-rw-r--r--src/xmpp/presence.c2
1 files changed, 2 insertions, 0 deletions
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);
                 }
             }