From 7684cf64f07d94e20131e926410e15675fd731c7 Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Sun, 6 Oct 2019 22:44:35 +0200 Subject: [PATCH] Revert "Fix memleak in cmd_join" This reverts commit 1746f5f8a80f78a02f79a9a17f29ebb0a7b179ec. --- src/command/cmd_funcs.c | 5 ----- 1 file changed, 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; }