mirror of
https://github.com/php/php-src.git
synced 2026-04-30 03:33:17 +02:00
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6: fix memory leak
This commit is contained in:
@@ -952,6 +952,7 @@ static void php_wddx_pop_element(void *user_data, const XML_Char *name)
|
||||
}
|
||||
|
||||
if (pce != PHP_IC_ENTRY && (pce->serialize || pce->unserialize)) {
|
||||
zval_ptr_dtor(&ent2->data);
|
||||
ZVAL_UNDEF(&ent2->data);
|
||||
php_error_docref(NULL, E_WARNING, "Class %s can not be unserialized", Z_STRVAL(ent1->data));
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user