mirror of
https://github.com/profanity-im/profanity.git
synced 2025-02-02 15:08:15 -05:00
Revert "Fix memleak in cmd_join"
This reverts commit 1746f5f8a80f78a02f79a9a17f29ebb0a7b179ec.
This commit is contained in:
parent
147be3afdf
commit
7684cf64f0
@ -3656,11 +3656,6 @@ cmd_join(ProfWin *window, const char *const command, gchar **args)
|
|||||||
jid_destroy(room_arg);
|
jid_destroy(room_arg);
|
||||||
account_free(account);
|
account_free(account);
|
||||||
|
|
||||||
if (account->muc_service) {
|
|
||||||
// then we allocated the memory ourself (see above)
|
|
||||||
free(room);
|
|
||||||
}
|
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user