dovecot-2.2: lib-fts: Call libicu u_cleanup.

dovecot at dovecot.org dovecot at dovecot.org
Mon Jun 1 23:41:40 UTC 2015


details:   http://hg.dovecot.org/dovecot-2.2/rev/346da98eaa1a
changeset: 18790:346da98eaa1a
user:      Teemu Huovila <teemu.huovila at dovecot.fi>
date:      Tue Jun 02 02:26:44 2015 +0300
description:
lib-fts: Call libicu u_cleanup.

diffstat:

 src/lib-fts/fts-filter.c |  6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diffs (23 lines):

diff -r 778b57788590 -r 346da98eaa1a src/lib-fts/fts-filter.c
--- a/src/lib-fts/fts-filter.c	Mon Jun 01 22:16:19 2015 +0300
+++ b/src/lib-fts/fts-filter.c	Tue Jun 02 02:26:44 2015 +0300
@@ -5,6 +5,9 @@
 #include "fts-language.h"
 #include "fts-filter.h"
 #include "fts-filter-private.h"
+#ifdef HAVE_LIBICU
+#  include <unicode/uclean.h>
+#endif
 
 static ARRAY(const struct fts_filter *) fts_filter_classes;
 
@@ -20,6 +23,9 @@
 
 void fts_filters_deinit(void)
 {
+#ifdef HAVE_LIBICU
+	u_cleanup();
+#endif
 	array_free(&fts_filter_classes);
 }
 


More information about the dovecot-cvs mailing list