php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #79333 com_print_typeinfo() leaks memory
Submitted: 2020-03-02 10:17 UTC Modified: 2020-03-02 10:18 UTC
From: cmb@php.net 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 Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: cmb@php.net
New email:
PHP Version: OS:

 

 [2020-03-02 10:17 UTC] cmb@php.net
Description:
------------
com_print_typeinfo() forgets to free the names of properties and
methods, what can be seen, for instance, when running
bug79299.phpt with a leak checker.


Test script:
---------------
php run-tests.php ext/com_dotnet/tests/bug79299.phpt


Expected result:
----------------
no memory leaks

Actual result:
--------------
memory leaks

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2020-03-02 10:18 UTC] cmb@php.net
-Assigned To: +Assigned To: cmb
 [2020-03-02 10:39 UTC] cmb@php.net
Automatic comment on behalf of cmbecker69@gmx.de
Revision: http://git.php.net/?p=php-src.git;a=commit;h=53140e5c567af6cba0779e178394404f92213713
Log: Fix #79333: com_print_typeinfo() leaks memory
 [2020-03-02 10:39 UTC] cmb@php.net
-Status: Assigned +Status: Closed
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 14:01:32 2024 UTC