1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00

Fixed memory leak in accounts_get_account

issue #226
This commit is contained in:
James Booth 2013-09-22 23:30:00 +01:00
parent 9ea85475fe
commit e7159aca30

View File

@ -250,7 +250,7 @@ accounts_get_account(const char * const name)
g_string_free(g_muc_service, TRUE);
jid_destroy(jidp);
} else {
account->muc_service = strdup(muc_service);
account->muc_service = muc_service;
}
gchar *muc_nick = g_key_file_get_string(accounts, name, "muc.nick", NULL);