Fix memory corruption when removing certain bans from a channel.
authorMichael Poole <mdpoole@troilus.org>
Tue, 8 Feb 2005 04:42:43 +0000 (04:42 +0000)
committerMichael Poole <mdpoole@troilus.org>
Tue, 8 Feb 2005 04:42:43 +0000 (04:42 +0000)
commitda71e7473ce7a454170d3030f2edcd1c1b1e04d4
tree359d309b70e889dbcf50d834c76e39b122308796
parentb4b9ae8af08c3b11cbd6721c3cb4e33da2dee441
Fix memory corruption when removing certain bans from a channel.

src/proto-common.c (mod_chanmode_apply): Make sure we get a pointer to
the ban we want to deallocate BEFORE we remove it from the banlist.
git-archimport-id: srvx@srvx.net--2005-srvx/srvx--devo--1.3--patch-16
ChangeLog
src/proto-common.c