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 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:
MUST BE VALID
Solve the problem:
23 - 1 = ?
Subscribe to this entry?

 
 [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

Add a Patch

Pull Requests

Add a Pull Request

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: Fri Apr 26 20:01:29 2024 UTC