1
0
mirror of https://github.com/php/php-src.git synced 2026-03-27 17:52:16 +01:00

Remove invalid free

The initialization of buffer has been moved further down in 7.3,
so this free is no longer legal.
This commit is contained in:
Nikita Popov
2018-09-18 12:37:12 +02:00
parent f608a60456
commit 9f4ec45aa6

View File

@@ -144,7 +144,6 @@ static void php_intl_idn_to_46(INTERNAL_FUNCTION_PARAMETERS,
uts46 = uidna_openUTS46(option, &status);
if (php_intl_idn_check_status(status, "failed to open UIDNA instance") == FAILURE) {
zend_string_efree(buffer);
RETURN_FALSE;
}