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
 [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-2020 The PHP Group
All rights reserved.
Last updated: Wed Apr 01 00:01:22 2020 UTC