1
0
mirror of https://github.com/php/php-src.git synced 2026-04-14 03:22:58 +02:00

Use correct string release function

This commit is contained in:
Stanislav Malyshev
2017-01-02 22:08:25 -08:00
parent ea6e54aff3
commit 68ac602b28
2 changed files with 2 additions and 2 deletions

View File

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

View File

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