about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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);
                 }
             }