diff options
author | Antony Dovgal <tony2001@php.net> | 2009-12-23 09:40:28 +0000 |
---|---|---|
committer | Antony Dovgal <tony2001@php.net> | 2009-12-23 09:40:28 +0000 |
commit | 6a9d78f1022cdf6ecfe484686e4a9cd99335a690 (patch) | |
tree | c5f5ec20252a668ce74eea80384621c762b113e3 /sapi | |
parent | 31deb65a9dcc1dec081a4f0154cc7784fcaecf26 (diff) | |
download | php-git-6a9d78f1022cdf6ecfe484686e4a9cd99335a690.tar.gz |
fix minor leak in CGI sapi (happened once per child)
Diffstat (limited to 'sapi')
-rw-r--r-- | sapi/cgi/fastcgi.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sapi/cgi/fastcgi.c b/sapi/cgi/fastcgi.c index 0cf94fe3ac..33d366acf4 100644 --- a/sapi/cgi/fastcgi.c +++ b/sapi/cgi/fastcgi.c @@ -255,6 +255,9 @@ void fcgi_shutdown(void) zend_hash_destroy(&fcgi_mgmt_vars); } is_fastcgi = 0; + if (allowed_clients) { + free(allowed_clients); + } } #ifdef _WIN32 |