diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-09-21 18:46:48 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-09-21 18:46:48 +0400 |
commit | f11a1c737f7e1d524d8b8bc056a531ab0f669d8e (patch) | |
tree | dabc7393b9bfa3749c267542f21dcbec250602fa /src/buffer.c | |
parent | 08a5507e764cbdfd0ee1f80a864d906d12071a35 (diff) | |
download | rspamd-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.c | 3 |
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); } } |