mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-08 06:53:45 +00:00
ICU-5190 Test and fix some allocation issues from ucol_safeClone
X-SVN-Rev: 19634
This commit is contained in:
parent
3ec1127306
commit
7b15f0e402
1 changed files with 1 additions and 1 deletions
|
@ -445,7 +445,7 @@ ucol_safeClone(const UCollator *coll, void *stackBuffer, int32_t * pBufferSize,
|
|||
}
|
||||
stackBuffer = (void *)stackBufferChars;
|
||||
|
||||
if (!coll->freeImageOnClose) {
|
||||
if (coll->freeImageOnClose) {
|
||||
UErrorCode tempStatus = U_ZERO_ERROR;
|
||||
imageSize = ucol_cloneBinary(coll, NULL, 0, &tempStatus);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue