#39125 [Opn->Csd]: Memleak when reflecting non-existing class/method

From: Date: Wed, 11 Oct 2006 15:52:58 +0000
Subject: #39125 [Opn->Csd]: Memleak when reflecting non-existing class/method
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-103426@lists.php.net to get a copy of this message
ID: 39125 Updated by: tony2001@php.net Reported By: cweiske@php.net -Status: Open +Status: Closed Bug Type: Unknown/Other Function Operating System: Linux PHP Version: 5.1.6 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: ------------------------------------------------------------------------ [2006-10-11 15:01:35] cweiske@php.net Description: ------------ I get a memleak when trying to reflect a nonexisting class and method from commandline. Reproduce code: --------------- php --rf someclass::somefunct Expected result: ---------------- Exception: Class someclass does not exist Actual result: -------------- Exception: Class someclass does not exist [Wed Oct 11 16:56:28 2006] Script: '-' /data/cvs/php/php-5.1.6/ext/reflection/php_reflection.c(2124) : Freeing 0x08DF74AC (10 bytes), script=- === Total 1 memory leaks detected === ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=39125&edit=1

« previous php.bugs (#103426) next »