1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00

Revert "Fix memleak in cmd_join"

This reverts commit 1746f5f8a8.
This commit is contained in:
Michael Vetter 2019-10-06 22:44:35 +02:00
parent 147be3afdf
commit 7684cf64f0

View File

@ -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;
}