#46099 [Opn->Asn]: Xsltprocessor::setProfiling - memory leak
| From: | felipe@php.net | Date: | Tue, 16 Sep 2008 18:59:24 +0000 |
| Subject: | #46099 [Opn->Asn]: Xsltprocessor::setProfiling - memory leak | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-129030@lists.php.net to get a copy of this message | ||
ID: 46099
Updated by: felipe@php.net
Reported By: felipe@php.net
-Status: Open
+Status: Assigned
Bug Type: XSLT related
PHP Version: 5.3CVS-2008-09-16 (CVS)
-Assigned To:
+Assigned To: rrichards
New Comment:
A probable fix:
http://felipe.ath.cx/diff/bug46099.diff
Previous Comments:
------------------------------------------------------------------------
[2008-09-16 18:57:42] felipe@php.net
Description:
------------
See below.
The intern->profiling isn't freed and not checked when calling
setProfiling() two or more times.
Reproduce code:
---------------
<?php
$x = new xsltprocessor();
$x->setProfiling('foo');
$x->setProfiling('foo');
Actual result:
--------------
Memory leak.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=46099&edit=1