summaryrefslogtreecommitdiffstats
path: root/src/plugins/chartable.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/chartable.c')
-rw-r--r--src/plugins/chartable.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/chartable.c b/src/plugins/chartable.c
index aed8ee804..1c50f5194 100644
--- a/src/plugins/chartable.c
+++ b/src/plugins/chartable.c
@@ -437,6 +437,10 @@ chartable_symbol_callback (struct rspamd_task *task, void *unused)
}
}
+
+ if (words) {
+ g_array_free (words, TRUE);
+ }
}
}