From 2ee290157978cf154cbd1b060c4367b4da3e6fec Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Tue, 19 Jul 2011 20:09:18 +0400 Subject: [PATCH] Do not try to use information about dispatcher after callback fails (found by valgrind). --- src/buffer.c | 1 - 1 file changed, 1 deletion(-) 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; -- 2.39.5