Wrong string destruction

This commit is contained in:
Dmitry Stogov 2014-02-21 15:26:41 +04:00
parent 29e2ce597b
commit bdeaf2ef55

View File

@ -417,7 +417,7 @@ ZEND_API void zend_print_zval_r_ex(zend_write_func_t write_func, zval *expr, int
}
ZEND_PUTS_EX(" Object\n");
if (class_name) {
efree((char*)class_name);
STR_RELEASE(class_name);
}
if ((properties = Z_OBJDEBUG_P(expr, is_temp)) == NULL) {
break;