From: Adam Dickmeiss Date: Thu, 20 Jun 2013 08:21:01 +0000 (+0200) Subject: Fix leak in icu_iter_get_org_info YAZ-666 X-Git-Tag: v4.2.61~1 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=f5c51ccf0ee232aaef2433e04abcfa47017f0e3b;p=yaz-moved-to-github.git Fix leak in icu_iter_get_org_info YAZ-666 --- diff --git a/src/icu_chain.c b/src/icu_chain.c index bcb27b4..ffbbb70 100644 --- a/src/icu_chain.c +++ b/src/icu_chain.c @@ -581,6 +581,7 @@ void icu_iter_get_org_info(yaz_icu_iter_t iter, size_t *start, size_t *len) *len = tmp->utf8_len - *start; else *len = 0; + icu_buf_utf8_destroy(tmp); iter->org->utf16_len = save_len; }