Skip to content

Commit f4d37bf

Browse files
committed
fix leak (merge from trunk)
1 parent 22ce389 commit f4d37bf

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

sapi/fpm/fpm/fastcgi.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,9 @@ void fcgi_shutdown(void)
273273
zend_hash_destroy(&fcgi_mgmt_vars);
274274
}
275275
is_fastcgi = 0;
276+
if (allowed_clients) {
277+
free(allowed_clients);
278+
}
276279
}
277280

278281
#ifdef _WIN32

0 commit comments

Comments
 (0)