aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2009-09-21 18:46:48 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2009-09-21 18:46:48 +0400
commitf11a1c737f7e1d524d8b8bc056a531ab0f669d8e (patch)
treedabc7393b9bfa3749c267542f21dcbec250602fa /src/buffer.c
parent08a5507e764cbdfd0ee1f80a864d906d12071a35 (diff)
downloadrspamd-f11a1c737f7e1d524d8b8bc056a531ab0f669d8e.tar.gz
rspamd-f11a1c737f7e1d524d8b8bc056a531ab0f669d8e.zip
* Add time out for sync IO as it can cause unpredictable errors
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/buffer.c b/src/buffer.c
index d212fc220..7c52da10d 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -344,6 +344,9 @@ rspamd_remove_dispatcher (rspamd_io_dispatcher_t *dispatcher)
if (dispatcher != NULL) {
event_del (dispatcher->ev);
memory_pool_delete (dispatcher->pool);
+ if (dispatcher->out_buffers) {
+ g_list_free (dispatcher->out_buffers);
+ }
g_free (dispatcher);
}
}