Bug #75635 [Opn]: Memory leak in fpm log
| From: | bukka@php.net | Date: | Fri, 16 Jun 2023 13:58:38 +0000 |
| Subject: | Bug #75635 [Opn]: Memory leak in fpm log | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-244708@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=75635&edit=1
ID: 75635
Updated by: bukka@php.net
Reported by: picone at 163 dot com
Summary: Memory leak in fpm log
Status: Open
Type: Bug
Package: FPM related
Operating System: Any
PHP Version: 7.2Git-2017-12-06 (Git)
-Assigned To:
+Assigned To: bukka
Block user comment: N
Private report: N
New Comment:
I have been looking into this and there are actually more places and it is more a generic problem.
Impact of this is small so I created a feature request issue to address it in a generic way: https://github.com/php/php-src/issues/11461
Previous Comments:
------------------------------------------------------------------------
[2017-12-06 04:56:31] picone at 163 dot com
Description:
------------
This is an easy probleam.
At sapi/fpm/fpm/fpm_log.c:80, it
strdup a fpm_log_format but never free it.It should
add a cleanup function to free its memory.
Thinks!
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=75635&edit=1