aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/task.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libserver/task.c')
-rw-r--r--src/libserver/task.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libserver/task.c b/src/libserver/task.c
index 12f20f393..53da0dae6 100644
--- a/src/libserver/task.c
+++ b/src/libserver/task.c
@@ -204,6 +204,10 @@ rspamd_task_free (struct rspamd_task *task)
rspamd_email_address_free (task->from_envelope);
}
+ if (task->from_envelope_orig) {
+ rspamd_email_address_free (task->from_envelope_orig);
+ }
+
if (task->meta_words) {
g_array_free (task->meta_words, TRUE);
}