aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/icu/Collate.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/icu/Collate.cxx b/src/lib/icu/Collate.cxx
index 3e8a6f5b5..c863e7e2a 100644
--- a/src/lib/icu/Collate.cxx
+++ b/src/lib/icu/Collate.cxx
@@ -156,6 +156,7 @@ IcuCaseFold(const char *src)
uint8_t *dest = new uint8_t[dest_length];
ucol_getSortKey(collator, u, u_length,
dest, dest_length);
+ delete[] u;
std::string result((const char *)dest);
delete[] dest;
#elif defined(HAVE_GLIB)