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:16:54 +01:00
parent 927af868c7
commit e3e1341c9a

View File

@ -259,7 +259,7 @@ accounts_get_account(const char * const name)
account->muc_nick = strdup(jidp->localpart);
jid_destroy(jidp);
} else {
account->muc_nick = strdup(muc_nick);
account->muc_nick = muc_nick;
}
// get room history