diff --git a/icu4c/source/i18n/ucol.cpp b/icu4c/source/i18n/ucol.cpp index 54740ec3fd..c6120be443 100644 --- a/icu4c/source/i18n/ucol.cpp +++ b/icu4c/source/i18n/ucol.cpp @@ -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); }