|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #46178 memory leak in ext/phar
Submitted: 2008-09-26 01:41 UTC Modified: 2008-09-26 16:30 UTC
From: Assigned: cellog (profile)
Status: Closed Package: PHAR related
PHP Version: 5.3CVS-2008-09-26 (CVS) OS: Mac OS X
Private report: No CVE-ID: None
 [2008-09-26 01:41 UTC]
When running

I get

Greg-Beavers-monster:Pyrus Greg$ php -d phar.readonly=0 makepackage.php 
[Thu Sep 25 20:38:04 2008]  Script:  'makepackage.php'
/Users/Greg/Documents/php/php5/ext/phar/util.c(1524) :  Freeing 0x00E41CD0 (54 bytes), script=makepackage.php
Last leak repeated 5 times
[Thu Sep 25 20:38:04 2008]  Script:  'makepackage.php'
/Users/Greg/Documents/php/php5/ext/phar/util.c(1521) :  Freeing 0x00E2FCF8 (104 bytes), script=makepackage.php
/Users/Greg/Documents/php/php5/Zend/zend_alloc.c(2391) : Actual location (location was relayed)
Last leak repeated 5 times
=== Total 12 memory leaks detected ===

not sure why yet


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2008-09-26 16:30 UTC]
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
Thank you for the report, and for helping us make PHP better.

PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 18:01:25 2019 UTC