diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2018-09-18 12:37:12 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2018-09-18 12:38:46 +0200 |
commit | 9f4ec45aa68ab677e95fbf2bdb94403f9dc44251 (patch) | |
tree | ad0188987fd6c42c86dc0913cc055a5648ee8bba /ext/intl | |
parent | f608a60456f3b3ee18b31d739b9b5ba37439b32a (diff) | |
download | php-git-9f4ec45aa68ab677e95fbf2bdb94403f9dc44251.tar.gz |
Remove invalid free
The initialization of buffer has been moved further down in 7.3,
so this free is no longer legal.
Diffstat (limited to 'ext/intl')
-rw-r--r-- | ext/intl/idn/idn.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/intl/idn/idn.c b/ext/intl/idn/idn.c index 1ab1f3f552..bd87afcd71 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; } |