Ups... memory leak
authorDennis Schafroth <dennis@indexdata.com>
Thu, 11 Nov 2010 12:16:26 +0000 (13:16 +0100)
committerDennis Schafroth <dennis@indexdata.com>
Thu, 11 Nov 2010 12:16:26 +0000 (13:16 +0100)
src/stemmer.c

index 12c9119..5829d9f 100644 (file)
@@ -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_utf16_from_utf8_cstr(dst, cstr , status);
                 }
             }
+            icu_buf_utf16_destroy(utf8_buf);
             return ;
             break;
         }
             return ;
             break;
         }