Bug #76982 [Ver]: memory leak declaring closure in included file

From: Date: Mon, 01 Mar 2021 10:44:06 +0000
Subject: Bug #76982 [Ver]: memory leak declaring closure in included file
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-232442@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=76982&edit=1

 ID:                 76982
 Updated by:         nikic@php.net
 Reported by:        ryan dot brothers at gmail dot com
 Summary:            memory leak declaring closure in included file
 Status:             Verified
 Type:               Bug
 Package:            Scripting Engine problem
 Operating System:   Linux
 PHP Version:        7.2.10
 Block user comment: N
 Private report:     N

 New Comment:

This leak is partially fixed in PHP 8.1. There's still a memory leak, but it's a constant
leak of ~250 bytes per overwritten closure now.


Previous Comments:
------------------------------------------------------------------------
[2021-02-19 17:16:45] nikic@php.net

The following pull request has been associated:

Patch Name: Reference dynamic functions through dynamic_defs
On GitHub:  https://github.com/php/php-src/pull/5595
Patch:      https://github.com/php/php-src/pull/5595.patch

------------------------------------------------------------------------
[2021-02-19 17:16:06] nikic@php.net

Related To: Bug #80777

------------------------------------------------------------------------
[2020-10-07 18:08:12] nikic@php.net

Related To: Bug #80199

------------------------------------------------------------------------
[2020-09-22 21:27:39] nikic@php.net

Related To: Bug #80140

------------------------------------------------------------------------
[2020-05-25 07:04:04] cmb@php.net

Related To: Bug #79626

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=76982


--
Edit this bug report at https://bugs.php.net/bug.php?id=76982&edit=1


Thread (10 messages)

« previous php.bugs (#232442) next »