From ce43af616eaf38680cf9531063e19442fbc1005b Mon Sep 17 00:00:00 2001 From: James Booth Date: Sun, 21 Sep 2014 02:21:52 +0100 Subject: [PATCH] Destroy Jid after use --- src/command/commands.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/command/commands.c b/src/command/commands.c index d80c935a..3be2b7eb 100644 --- a/src/command/commands.c +++ b/src/command/commands.c @@ -1565,6 +1565,7 @@ cmd_caps(gchar **args, struct cmd_help_t help) } } } + jid_destroy(jid); } else { cons_show("You must provide a jid to the /caps command."); }