You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2014/03/04 07:14:34 UTC
[Bug 56211] Memory leak in file server/mpm/winnt/mpm_winnt.c
https://issues.apache.org/bugzilla/show_bug.cgi?id=56211
Christophe JAILLET <ch...@wanadoo.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |INVALID
--- Comment #1 from Christophe JAILLET <ch...@wanadoo.fr> ---
args is defined as static:
lg 738:
static char **args = NULL;
and memory is allocated only once:
lg 767:
if (!args) {
/* Build the args array, only once since it won't change
* for the lifetime of this parent process.
[...]
args = malloc((ap_server_conf->process->argc + 1) * sizeof (char*));
So there is no leak here, even if multiple child processes are created during
the life of the parent process.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org