Bug #79332 [Asn->Csd]: php_istreams are never freed
| From: | cmb@php.net | Date: | Mon, 02 Mar 2020 09:49:11 +0000 |
| Subject: | Bug #79332 [Asn->Csd]: php_istreams are never freed | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-225832@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=79332&edit=1
ID: 79332
Updated by: cmb@php.net
Reported by: cmb@php.net
Summary: php_istreams are never freed
-Status: Assigned
+Status: Closed
Type: Bug
Package: COM related
Operating System: Windows
PHP Version: 7.3Git-2020-03-02 (Git)
Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
Automatic comment on behalf of cmbecker69@gmx.de
Revision: http://git.php.net/?p=php-src.git;a=commit;h=2adf1c4d23467424012db1971d0a0a678d10d782
Log: Fix #79332: php_istreams are never freed
Previous Comments:
------------------------------------------------------------------------
[2020-03-02 09:18:28] cmb@php.net
Description:
------------
Whenever COMPersistHelper::LoadFromStream() and ::SaveToStream()
are called, an php_istream is allocated, but is never freed.
Test script:
---------------
<?php
$ph = new COMPersistHelper(null);
var_dump($ph->LoadFromStream(fopen(__FILE__, 'r')));
?>
Expected result:
----------------
no memory leak
Actual result:
--------------
memory leak
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=79332&edit=1