diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-01-16 18:50:29 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-01-16 18:50:29 +0000 |
commit | a95b7ba1758c89e5702d0381bf51fbfdbc70373a (patch) | |
tree | 5ceb4949cc5d3c38cffaee9a36404438102c56e8 /src | |
parent | b369c16e068eff1ea977cf6a79f8e65b2dda8ca8 (diff) | |
download | rspamd-a95b7ba1758c89e5702d0381bf51fbfdbc70373a.tar.gz rspamd-a95b7ba1758c89e5702d0381bf51fbfdbc70373a.zip |
[Fix] Plug memory leak
Diffstat (limited to 'src')
-rw-r--r-- | src/libmime/lang_detection.c | 1 |
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 |