mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-08 06:53:45 +00:00
ICU-5420 fix memory leak in searchTest.
X-SVN-Rev: 24113
This commit is contained in:
parent
bbb5eb7cf5
commit
236d6f86ad
1 changed files with 2 additions and 1 deletions
|
@ -280,7 +280,8 @@ void SSearchTest::searchTest()
|
|||
}
|
||||
|
||||
usearch_close(uss);
|
||||
usearch_openFromCollator(pattern.getBuffer(), pattern.length(),
|
||||
|
||||
uss = usearch_openFromCollator(pattern.getBuffer(), pattern.length(),
|
||||
target.getBuffer(), target.length(),
|
||||
collator,
|
||||
NULL,
|
||||
|
|
Loading…
Add table
Reference in a new issue