diff options
author | James Booth <boothj5@gmail.com> | 2013-09-22 23:16:54 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2013-09-23 00:08:50 +0100 |
commit | e3e1341c9a1d175251975447c05d0872e644ecc3 (patch) | |
tree | ba7b26da59919f1978c41889462fc2881a5d0bc3 /src/config | |
parent | 927af868c7381d3a0012436d1acb41a22d6bbb94 (diff) | |
download | profani-tty-e3e1341c9a1d175251975447c05d0872e644ecc3.tar.gz |
Fixed memory leak in accounts_get_account
issue #226
Diffstat (limited to 'src/config')
-rw-r--r-- | src/config/accounts.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |