php.net |  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: cellog@php.net 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] cellog@php.net
Description:
------------
When running

http://svn.pear.php.net/PEAR2/Pyrus/trunk/src/Pyrus/makepackage.php

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


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-09-26 16:30 UTC] cellog@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: Tue Mar 19 07:01:29 2024 UTC