From e3e1341c9a1d175251975447c05d0872e644ecc3 Mon Sep 17 00:00:00 2001 From: James Booth Date: Sun, 22 Sep 2013 23:16:54 +0100 Subject: Fixed memory leak in accounts_get_account issue #226 --- src/config/accounts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/config/accounts.c b/src/config/accounts.c index b903d6be..7b9c6a6c 100644 --- a/src/config/accounts.c +++ b/src/config/accounts.c @@ -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 -- cgit 1.4.1-2-gfad0