diff options
Diffstat (limited to 'src/config/accounts.c')
-rw-r--r-- | src/config/accounts.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/config/accounts.c b/src/config/accounts.c index b903d6be..4eb4b8e3 100644 --- a/src/config/accounts.c +++ b/src/config/accounts.c @@ -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); @@ -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 |