com php-src: Fix leak of class name when printing exception backtrace: Zend/zend_exceptions.c

From: Date: Thu, 14 Jul 2016 16:38:58 +0000
Subject: com php-src: Fix leak of class name when printing exception backtrace: Zend/zend_exceptions.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-93017@lists.php.net to get a copy of this message
Commit: 587668be564bd5ad11ca5d56a6480407c603f0c0 Author: Nikita Popov <nikic@php.net> Thu, 14 Jul 2016 17:29:59 +0200 Parents: c3804a2cf96028de02521c20996562edb8f7787a Branches: PHP-7.0 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=587668be564bd5ad11ca5d56a6480407c603f0c0 Log: Fix leak of class name when printing exception backtrace Changed paths: M Zend/zend_exceptions.c Diff: diff --git a/Zend/zend_exceptions.c b/Zend/zend_exceptions.c index 4d1b016..144b06f 100644 --- a/Zend/zend_exceptions.c +++ b/Zend/zend_exceptions.c @@ -567,6 +567,7 @@ static void _build_trace_args(zval *arg, smart_str *str) /* {{{ */ smart_str_appends(str, "Object("); smart_str_appends(str, ZSTR_VAL(class_name)); smart_str_appends(str, "), "); + zend_string_release(class_name); break; } }

« previous php.cvs (#93017) next »