Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Use correct string release function
This commit is contained in:
Stanislav Malyshev 2017-01-02 22:08:42 -08:00
commit b9837dc183
2 changed files with 2 additions and 2 deletions

View File

@ -877,7 +877,7 @@ yy20:
elements = object_common1(UNSERIALIZE_PASSTHRU, ce);
if (elements < 0) {
efree(class_name);
zend_string_release(class_name);
return 0;
}

View File

@ -954,7 +954,7 @@ object ":" uiv ":" ["] {
elements = object_common1(UNSERIALIZE_PASSTHRU, ce);
if (elements < 0) {
efree(class_name);
zend_string_release(class_name);
return 0;
}