php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #39125 Memleak when reflecting non-existing class/method
Submitted: 2006-10-11 15:01 UTC Modified: 2006-10-11 15:52 UTC
From: cweiske@php.net Assigned:
Status: Closed Package: Unknown/Other Function
PHP Version: 5.1.6 OS: Linux
Private report: No CVE-ID: None
 [2006-10-11 15:01 UTC] 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 ===


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-10-11 15:52 UTC] tony2001@php.net
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.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Dec 30 14:01:28 2024 UTC