From: Vsevolod Stakhov Date: Tue, 19 Jul 2011 16:09:18 +0000 (+0400) Subject: Do not try to use information about dispatcher after callback fails (found by valgrind). X-Git-Tag: 0.4.0~8 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=2ee290157978cf154cbd1b060c4367b4da3e6fec;p=rspamd.git Do not try to use information about dispatcher after callback fails (found by valgrind). --- diff --git a/src/buffer.c b/src/buffer.c index bfe4efba3..8048dc13b 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -465,7 +465,6 @@ dispatcher_cb (gint fd, short what, void *arg) event_add (d->ev, d->tv); if (d->is_restored && d->write_callback) { if (!d->write_callback (d->user_data)) { - debug_ip ("callback set wanna_die flag, terminating"); return; } d->is_restored = FALSE;