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