Fix: Destroy utf8 buffer with utf-8 buffer destroy
authorDennis Schafroth <dennis@indexdata.com>
Thu, 11 Nov 2010 13:27:01 +0000 (14:27 +0100)
committerDennis Schafroth <dennis@indexdata.com>
Thu, 11 Nov 2010 13:27:01 +0000 (14:27 +0100)
src/stemmer.c

index eca3c2a..5b8097f 100644 (file)
@@ -90,7 +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);
+            icu_buf_utf8_destroy(utf8_buf);
             return ;
             break;
         }