ID: 46099 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Assigned +Status: Closed Bug Type: XSLT related PHP Version: 5.3CVS-2008-09-16 (CVS) Assigned To: rrichards New Comment:
This bug has been fixed in CVS. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2008-09-16 18:59:24] [EMAIL PROTECTED] A probable fix: http://felipe.ath.cx/diff/bug46099.diff ------------------------------------------------------------------------ [2008-09-16 18:57:42] [EMAIL PROTECTED] 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