|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #79332 php_istreams are never freed
Submitted: 2020-03-02 09:18 UTC Modified: 2020-03-02 09:18 UTC
From: Assigned: cmb (profile)
Status: Closed Package: COM related
PHP Version: 7.3Git-2020-03-02 (Git) OS: Windows
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
41 - 14 = ?
Subscribe to this entry?

 [2020-03-02 09:18 UTC]
Whenever COMPersistHelper::LoadFromStream() and ::SaveToStream()
are called, an php_istream is allocated, but is never freed.

Test script:
$ph = new COMPersistHelper(null);
var_dump($ph->LoadFromStream(fopen(__FILE__, 'r')));

Expected result:
no memory leak

Actual result:
memory leak


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2020-03-02 09:18 UTC]
-Assigned To: +Assigned To: cmb
 [2020-03-02 09:49 UTC]
Automatic comment on behalf of
Log: Fix #79332: php_istreams are never freed
 [2020-03-02 09:49 UTC]
-Status: Assigned +Status: Closed
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue May 28 02:01:31 2024 UTC