Fix: using right destroy method
authorDennis Schafroth <dennis@indexdata.com>
Fri, 12 Nov 2010 10:17:19 +0000 (11:17 +0100)
committerDennis Schafroth <dennis@indexdata.com>
Fri, 12 Nov 2010 10:17:19 +0000 (11:17 +0100)
src/stemmer.c

index 5829d9f..b4c4cb6 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;
         }