Free resources on OTR shutdown
This commit is contained in:
@@ -2766,6 +2766,7 @@ cmd_otr(gchar **args, struct cmd_help_t help)
|
||||
if (strcmp(args[0], "gen") == 0) {
|
||||
ProfAccount *account = accounts_get_account(jabber_get_account_name());
|
||||
otr_keygen(account);
|
||||
account_free(account);
|
||||
return TRUE;
|
||||
|
||||
} else if (strcmp(args[0], "myfp") == 0) {
|
||||
|
||||
Reference in New Issue
Block a user