Bug #79333 [Asn->Csd]: com_print_typeinfo() leaks memory
| From: | cmb@php.net | Date: | Mon, 02 Mar 2020 10:39:24 +0000 |
| Subject: | Bug #79333 [Asn->Csd]: com_print_typeinfo() leaks memory | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-225835@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=79333&edit=1
ID: 79333
Updated by: cmb@php.net
Reported by: cmb@php.net
Summary: com_print_typeinfo() leaks memory
-Status: Assigned
+Status: Closed
Type: Bug
Package: COM related
Operating System: Windows
PHP Version: 7.3Git-2020-03-02 (Git)
Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[2020-03-02 10:17:58] 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
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=79333&edit=1