mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-13 08:53:20 +00:00
ICU-3100 fix a memory leak
X-SVN-Rev: 15857
This commit is contained in:
parent
d02718c577
commit
8c13042074
1 changed files with 1 additions and 0 deletions
|
@ -973,6 +973,7 @@ ucol_getContractions( const UCollator *coll,
|
|||
c.coll = coll;
|
||||
c.removedContractions = NULL;
|
||||
utrie_enum(coll->mapping, NULL, _processContractions, &c);
|
||||
ucol_tok_closeTokenList(&src);
|
||||
|
||||
return uset_getItemCount(contractions);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue