diff options
author | Michael Vetter <jubalh@iodoru.org> | 2019-10-06 22:44:35 +0200 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2019-10-06 22:44:35 +0200 |
commit | 7684cf64f07d94e20131e926410e15675fd731c7 (patch) | |
tree | f433c060c7f5fc746e67c983fdadb59fa614759e | |
parent | 147be3afdfd2f87e989450bf0cddddfa9e817e24 (diff) | |
download | profani-tty-7684cf64f07d94e20131e926410e15675fd731c7.tar.gz |
Revert "Fix memleak in cmd_join"
This reverts commit 1746f5f8a80f78a02f79a9a17f29ebb0a7b179ec.
-rw-r--r-- | src/command/cmd_funcs.c | 5 |
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; } |