From 9f4ec45aa68ab677e95fbf2bdb94403f9dc44251 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Tue, 18 Sep 2018 12:37:12 +0200 Subject: [PATCH] Remove invalid free The initialization of buffer has been moved further down in 7.3, so this free is no longer legal. --- ext/intl/idn/idn.c | 1 - 1 file changed, 1 deletion(-) diff --git a/ext/intl/idn/idn.c b/ext/intl/idn/idn.c index 1ab1f3f5527..bd87afcd711 100644 --- a/ext/intl/idn/idn.c +++ b/ext/intl/idn/idn.c @@ -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; }