projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2aad12a
)
Fix leak in icu_iter_get_org_info YAZ-666
author
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 20 Jun 2013 08:21:01 +0000
(10:21 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 20 Jun 2013 08:21:01 +0000
(10:21 +0200)
src/icu_chain.c
patch
|
blob
|
history
diff --git
a/src/icu_chain.c
b/src/icu_chain.c
index
bcb27b4
..
ffbbb70
100644
(file)
--- 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;
}