summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2009-12-23 09:42:47 +0000
committerAntony Dovgal <tony2001@php.net>2009-12-23 09:42:47 +0000
commitf4d37bf80eff7a61ef859913b8f24543902a3162 (patch)
tree361e8251330834386dd6415263b2fdfe95f4bc41
parent22ce3898697cd5d5ede66b2639d92ed5eec5746e (diff)
downloadphp-git-f4d37bf80eff7a61ef859913b8f24543902a3162.tar.gz
fix leak (merge from trunk)
-rw-r--r--sapi/fpm/fpm/fastcgi.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sapi/fpm/fpm/fastcgi.c b/sapi/fpm/fpm/fastcgi.c
index 4032147982..85322c786d 100644
--- a/sapi/fpm/fpm/fastcgi.c
+++ b/sapi/fpm/fpm/fastcgi.c
@@ -273,6 +273,9 @@ void fcgi_shutdown(void)
zend_hash_destroy(&fcgi_mgmt_vars);
}
is_fastcgi = 0;
+ if (allowed_clients) {
+ free(allowed_clients);
+ }
}
#ifdef _WIN32