diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-06-14 13:00:44 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-06-14 15:15:19 +0100 |
commit | 904c6caebe5da551be410d88aa4dd86039f03a4c (patch) | |
tree | 79cce46fcded2821fef79ea3e9fb81101ba0fe65 /src/libmime/lang_detection.h | |
parent | 7406e60b74327df055f3bacfc478bd5cb68fd6c9 (diff) | |
download | rspamd-904c6caebe5da551be410d88aa4dd86039f03a4c.tar.gz rspamd-904c6caebe5da551be410d88aa4dd86039f03a4c.zip |
[Fix] Free language detector structures
Diffstat (limited to 'src/libmime/lang_detection.h')
-rw-r--r-- | src/libmime/lang_detection.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libmime/lang_detection.h b/src/libmime/lang_detection.h index 0058801b8..2d28ec65a 100644 --- a/src/libmime/lang_detection.h +++ b/src/libmime/lang_detection.h @@ -37,6 +37,10 @@ struct rspamd_lang_detector_res { * @return */ struct rspamd_lang_detector* rspamd_language_detector_init (struct rspamd_config *cfg); + +struct rspamd_lang_detector* rspamd_language_detector_ref (struct rspamd_lang_detector* d); +void rspamd_language_detector_unref (struct rspamd_lang_detector* d); + /** * Convert string from utf8 to ucs32 * @param d |