mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-19 12:36:21 +00:00
Fixed various jid and account mem leaks
This commit is contained in:
@@ -226,6 +226,7 @@ cmd_connect(ProfWin *window, gchar **args, struct cmd_help_t help)
|
||||
} else {
|
||||
cons_show("Error evaluating password, see logs for details.");
|
||||
g_free(lower);
|
||||
account_free(account);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
@@ -2179,6 +2180,7 @@ cmd_join(ProfWin *window, gchar **args, struct cmd_help_t help)
|
||||
if (!parsed) {
|
||||
cons_show("Usage: %s", help.usage);
|
||||
cons_show("");
|
||||
jid_destroy(room_arg);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user