about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/config/accounts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config/accounts.c b/src/config/accounts.c
index 7b9c6a6c..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);