Closed Alcaro closed 6 years ago
It's better than crashing.
But yeah, no real point switching from broken to half-broken when a proper fix is available.
I'm not completely sure how bitlbee memory management works, but if free_channel_info deletes the gc, it's probably not a double free to delete it here.
To reproduce:
Expected: I don't see that channel again
Actual:
(plus 99% chance Valgrind would post a dozen use-after-free notices before that)
and bitlbee crashes before saving the new config, so I'm rejoined to the channel when bitlbee restarts.