Skip to content

Commit 63c3394

Browse files
committed
Merge branch 'PHP-8.4' into PHP-8.5
* PHP-8.4: intl: Fix memory leak in IntlChar::getFC_NFKC_Closure()
2 parents d3a70ea + d70568e commit 63c3394

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ext/intl/uchar/uchar.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -527,8 +527,8 @@ IC_METHOD(getFC_NFKC_Closure) {
527527

528528
error = U_ZERO_ERROR;
529529
u8str = intl_convert_utf16_to_utf8(closure, closure_len, &error);
530-
INTL_CHECK_STATUS(error, "Failed converting output to UTF8");
531530
efree(closure);
531+
INTL_CHECK_STATUS(error, "Failed converting output to UTF8");
532532
RETVAL_NEW_STR(u8str);
533533
}
534534
/* }}} */

0 commit comments

Comments
 (0)