diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-03-06 17:48:31 +0300 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-03-06 17:48:31 +0300 |
commit | 555778c43a3148fd88d3b3562ae2634318110b22 (patch) | |
tree | d58ba7b8416540d265ffb93c9e510f3c98f9e495 /src/worker.c | |
parent | 4d932e105aef559198ec2f79b43279a18f52db9e (diff) | |
download | rspamd-555778c43a3148fd88d3b3562ae2634318110b22.tar.gz rspamd-555778c43a3148fd88d3b3562ae2634318110b22.zip |
* Remove several memory leaks (found by valgrind)
Diffstat (limited to 'src/worker.c')
-rw-r--r-- | src/worker.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/worker.c b/src/worker.c index 8e1225024..53a4db087 100644 --- a/src/worker.c +++ b/src/worker.c @@ -107,7 +107,7 @@ free_task (struct worker_task *task, gboolean is_soft) while ((part = g_list_first (task->parts))) { task->parts = g_list_remove_link (task->parts, part); p = (struct mime_part *)part->data; - g_byte_array_free (p->content, FALSE); + g_byte_array_free (p->content, TRUE); g_list_free_1 (part); } memory_pool_delete (task->task_pool); |