From 9ad9c9865c70926cb0398699b0170f744e861f3c Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Wed, 23 Sep 2009 15:45:00 +0400 Subject: [PATCH] * Another mistake in task object initialization --- src/plugins/fuzzy_check.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/plugins/fuzzy_check.c b/src/plugins/fuzzy_check.c index 4001a9744..ef8664ff2 100644 --- a/src/plugins/fuzzy_check.c +++ b/src/plugins/fuzzy_check.c @@ -384,8 +384,11 @@ fuzzy_process_handler (struct controller_session *session, f_str_t *in) task = construct_task (session->worker); session->other_data = task; session->state = STATE_WAIT; + + task->msg = memory_pool_alloc (task->task_pool, sizeof (f_str_t)); + task->msg->begin = in->begin; + task->msg->len = in->len; - task->msg = in; saved = memory_pool_alloc0 (session->session_pool, sizeof (int)); r = process_message (task); if (r == -1) { -- 2.39.5