diff options
Diffstat (limited to 'src/libmime/lang_detection.c')
-rw-r--r-- | src/libmime/lang_detection.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libmime/lang_detection.c b/src/libmime/lang_detection.c index 7bfcf0164..143dc3f38 100644 --- a/src/libmime/lang_detection.c +++ b/src/libmime/lang_detection.c @@ -752,6 +752,8 @@ rspamd_language_detector_dtor (struct rspamd_lang_detector *d) kh_foreach_key (d->stop_words_norm, tok, { g_free (tok); /* String is embedded and freed automatically */ }); + + kh_destroy (rspamd_stopwords_hash, d->stop_words_norm); } } |