]> granicus.if.org Git - php/commit
Fix fpm limit_extensions leak
authorNikita Popov <nikita.ppv@gmail.com>
Tue, 25 Jun 2019 13:01:58 +0000 (15:01 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Wed, 26 Jun 2019 09:40:39 +0000 (11:40 +0200)
commit698dd32b03dc4e9998364247bab1d0ace55910e4
tree5c825b8b6e1671637f2587bb04b6336a1229d5ad
parentf7faa62c43e4eccd5f43dd5f1ca8580aad80f98c
Fix fpm limit_extensions leak

The logic here is somewhat ugly because the worker pool structure
gets freed early, so we need to explicitly transfer ownership.
sapi/fpm/fpm/fpm_php.c
sapi/fpm/fpm/fpm_worker_pool.c
sapi/fpm/fpm/fpm_worker_pool.h