mirror of
https://github.com/php/php-src.git
synced 2024-09-29 22:06:09 +00:00
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0: Use correct string release function
This commit is contained in:
commit
b9837dc183
@ -877,7 +877,7 @@ yy20:
|
|||||||
elements = object_common1(UNSERIALIZE_PASSTHRU, ce);
|
elements = object_common1(UNSERIALIZE_PASSTHRU, ce);
|
||||||
|
|
||||||
if (elements < 0) {
|
if (elements < 0) {
|
||||||
efree(class_name);
|
zend_string_release(class_name);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -954,7 +954,7 @@ object ":" uiv ":" ["] {
|
|||||||
elements = object_common1(UNSERIALIZE_PASSTHRU, ce);
|
elements = object_common1(UNSERIALIZE_PASSTHRU, ce);
|
||||||
|
|
||||||
if (elements < 0) {
|
if (elements < 0) {
|
||||||
efree(class_name);
|
zend_string_release(class_name);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user