From: Dennis Schafroth Date: Thu, 11 Nov 2010 12:16:26 +0000 (+0100) Subject: Ups... memory leak X-Git-Tag: v4.1.4~14^2~2 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=5a3e6fa63181ab4afa8bce5f01c6de016a333334;p=yaz-moved-to-github.git Ups... memory leak --- diff --git a/src/stemmer.c b/src/stemmer.c index 12c9119..5829d9f 100644 --- a/src/stemmer.c +++ b/src/stemmer.c @@ -90,6 +90,7 @@ void yaz_stemmer_stem(yaz_stemmer_p stemmer, struct icu_buf_utf16 *dst, struct i icu_utf16_from_utf8_cstr(dst, cstr , status); } } + icu_buf_utf16_destroy(utf8_buf); return ; break; }