mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-19 00:46:21 +00:00
Don't free default account name until it has been lowercased
This commit is contained in:
@@ -125,11 +125,11 @@ cmd_connect(gchar **args, struct cmd_help_t help)
|
||||
return TRUE;
|
||||
}
|
||||
}
|
||||
g_free(def);
|
||||
def = NULL;
|
||||
|
||||
char *lower = g_utf8_strdown(user, -1);
|
||||
char *jid;
|
||||
g_free(def);
|
||||
def = NULL;
|
||||
|
||||
ProfAccount *account = accounts_get_account(lower);
|
||||
if (account != NULL) {
|
||||
|
||||
Reference in New Issue
Block a user