dovecot-2.2: lib-fts: test-fts-icu memory leak fix

dovecot at dovecot.org dovecot at dovecot.org
Mon May 18 10:48:39 UTC 2015


details:   http://hg.dovecot.org/dovecot-2.2/rev/c2ce65bb1caf
changeset: 18725:c2ce65bb1caf
user:      Timo Sirainen <tss at iki.fi>
date:      Mon May 18 06:46:32 2015 -0400
description:
lib-fts: test-fts-icu memory leak fix

diffstat:

 src/lib-fts/test-fts-icu.c |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (19 lines):

diff -r 3d2bd49e6b4a -r c2ce65bb1caf src/lib-fts/test-fts-icu.c
--- a/src/lib-fts/test-fts-icu.c	Mon May 18 06:37:28 2015 -0400
+++ b/src/lib-fts/test-fts-icu.c	Mon May 18 06:46:32 2015 -0400
@@ -108,6 +108,7 @@
 					      translit, &error) == 0);
 		test_assert(dest->used == i * sizeof(UChar));
 	}
+	utrans_close(translit);
 	test_end();
 }
 
@@ -134,6 +135,7 @@
 					      translit, &error) == 0);
 	}
 
+	utrans_close(translit);
 	test_end();
 }
 


More information about the dovecot-cvs mailing list