]> granicus.if.org Git - php/commitdiff
fix minor leak (merge from trunk)
authorAntony Dovgal <tony2001@php.net>
Fri, 25 Dec 2009 20:17:27 +0000 (20:17 +0000)
committerAntony Dovgal <tony2001@php.net>
Fri, 25 Dec 2009 20:17:27 +0000 (20:17 +0000)
sapi/cgi/fastcgi.c

index ff75c167fe89995d402db015f0144ae952a2f7b1..6337688269634297ed38e656421a067d0c015ea3 100644 (file)
@@ -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