projects
/
pazpar2-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Mergekey changes - order + required/optional.
[pazpar2-moved-to-github.git]
/
src
/
charsets.c
diff --git
a/src/charsets.c
b/src/charsets.c
index
d2c79bd
..
9332aa0
100644
(file)
--- a/
src/charsets.c
+++ b/
src/charsets.c
@@
-132,7
+132,12
@@
void pp2_charset_destroy(pp2_charset_t pct)
assert(pct->ref_count >= 1);
--(pct->ref_count);
if (pct->ref_count == 0)
+ {
+#if YAZ_HAVE_ICU
+ icu_chain_destroy(pct->icu_chn);
+#endif
xfree(pct);
+ }
}
}