diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-11-29 12:54:05 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-11-29 12:54:05 +0000 |
commit | b88b112953e52fef8008216c498bbc2e3bfd0c72 (patch) | |
tree | 0fa47d8c1cc740187ade66ee38f8f0b032cf3f4c /src/libmime | |
parent | 0d62dd6513a5309acfcc19e936b3a7844c83a502 (diff) | |
download | rspamd-b88b112953e52fef8008216c498bbc2e3bfd0c72.tar.gz rspamd-b88b112953e52fef8008216c498bbc2e3bfd0c72.zip |
[Fix] Fix double free
Diffstat (limited to 'src/libmime')
-rw-r--r-- | src/libmime/lang_detection.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/libmime/lang_detection.c b/src/libmime/lang_detection.c index b4e147fda..f5a175ad8 100644 --- a/src/libmime/lang_detection.c +++ b/src/libmime/lang_detection.c @@ -732,10 +732,6 @@ rspamd_language_detector_dtor (struct rspamd_lang_detector *d) if (d) { rspamd_ftok_t *tok; - if (d->uchar_converter) { - ucnv_close (d->uchar_converter); - } - for (guint i = 0; i < RSPAMD_LANGUAGE_MAX; i ++) { kh_destroy (rspamd_trigram_hash, d->trigramms[i]); rspamd_multipattern_destroy (d->stop_words[i].mp); |