about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--src/command/cmd_funcs.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/command/cmd_funcs.c b/src/command/cmd_funcs.c
index 7b303b95..9a3d2c93 100644
--- a/src/command/cmd_funcs.c
+++ b/src/command/cmd_funcs.c
@@ -3656,11 +3656,6 @@ cmd_join(ProfWin *window, const char *const command, gchar **args)
     jid_destroy(room_arg);
     account_free(account);
 
-    if (account->muc_service) {
-        // then we allocated the memory ourself (see above)
-        free(room);
-    }
-
     return TRUE;
 }