mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Fix GH-15020: Memory leak in Zend/Optimizer/escape_analysis.c
Closes GH-15022.
This commit is contained in:
parent
93a9a9b4a4
commit
03d73182d9
2 changed files with 5 additions and 0 deletions
4
NEWS
4
NEWS
|
@ -2,6 +2,10 @@ PHP NEWS
|
||||||
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||
?? ??? ????, PHP 8.2.23
|
?? ??? ????, PHP 8.2.23
|
||||||
|
|
||||||
|
- Core:
|
||||||
|
. Fixed bug GH-15020 (Memory leak in Zend/Optimizer/escape_analysis.c).
|
||||||
|
(nielsdos)
|
||||||
|
|
||||||
- Curl:
|
- Curl:
|
||||||
. Fixed case when curl_error returns an empty string.
|
. Fixed case when curl_error returns an empty string.
|
||||||
(David Carlier)
|
(David Carlier)
|
||||||
|
|
|
@ -400,6 +400,7 @@ zend_result zend_ssa_escape_analysis(const zend_script *script, zend_op_array *o
|
||||||
}
|
}
|
||||||
|
|
||||||
if (zend_build_equi_escape_sets(ees, op_array, ssa) == FAILURE) {
|
if (zend_build_equi_escape_sets(ees, op_array, ssa) == FAILURE) {
|
||||||
|
free_alloca(ees, use_heap);
|
||||||
return FAILURE;
|
return FAILURE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue