1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00

Destroy Jid after use

This commit is contained in:
James Booth 2014-09-21 02:21:52 +01:00
parent 7aff51ba4d
commit ce43af616e

View File

@ -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.");
}