From b6fb584505cfddcd20c9913e0931374a8ce33a3f Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Thu, 5 Jul 2018 13:32:39 +0300 Subject: Replace zval_dtor() with specialized destructors --- sapi/phpdbg/phpdbg_frame.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sapi/phpdbg/phpdbg_frame.c') diff --git a/sapi/phpdbg/phpdbg_frame.c b/sapi/phpdbg/phpdbg_frame.c index 7cdedcb497..2065277dfe 100644 --- a/sapi/phpdbg/phpdbg_frame.c +++ b/sapi/phpdbg/phpdbg_frame.c @@ -314,7 +314,7 @@ void phpdbg_dump_backtrace(size_t num) /* {{{ */ phpdbg_writeln("frame", "id=\"%d\" symbol=\"{main}\" file=\"%s\" line=\"%d\"", "frame #%d: {main} at %s:%ld", i, Z_STRVAL_P(file), Z_LVAL_P(line)); phpdbg_xml(""); - zval_dtor(&zbacktrace); + zval_ptr_dtor_nogc(&zbacktrace); zend_string_release(Z_STR(startfile)); PHPDBG_OUTPUT_BACKUP_RESTORE(); -- cgit v1.2.1