|  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: 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
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
New email:
PHP Version: OS:


 [2020-03-02 10:17 UTC]
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


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2020-03-02 10:18 UTC]
-Assigned To: +Assigned To: cmb
 [2020-03-02 10:39 UTC]
Automatic comment on behalf of
Log: Fix #79333: com_print_typeinfo() leaks memory
 [2020-03-02 10:39 UTC]
-Status: Assigned +Status: Closed
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Jul 19 18:01:30 2024 UTC