aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/libmime/lang_detection.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libmime/lang_detection.c b/src/libmime/lang_detection.c
index 9c174ca23..6b71e45a1 100644
--- a/src/libmime/lang_detection.c
+++ b/src/libmime/lang_detection.c
@@ -669,6 +669,7 @@ rspamd_language_detector_detect_type (struct rspamd_task *task,
/* Filter negligible candidates */
rspamd_language_detector_filter_negligible (task, candidates);
+ g_free (selected_words);
}
static gint