summaryrefslogtreecommitdiff
path: root/sapi/fpm/fpm/fpm_children.c
diff options
context:
space:
mode:
Diffstat (limited to 'sapi/fpm/fpm/fpm_children.c')
-rw-r--r--sapi/fpm/fpm/fpm_children.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/fpm/fpm/fpm_children.c b/sapi/fpm/fpm/fpm_children.c
index fd121372f3..fe92bdf1b0 100644
--- a/sapi/fpm/fpm/fpm_children.c
+++ b/sapi/fpm/fpm/fpm_children.c
@@ -346,7 +346,7 @@ static void fpm_child_resources_use(struct fpm_child_s *child) /* {{{ */
{
struct fpm_worker_pool_s *wp;
for (wp = fpm_worker_all_pools; wp; wp = wp->next) {
- if (wp == child->wp) {
+ if (wp == child->wp || wp == child->wp->shared) {
continue;
}
fpm_scoreboard_free(wp->scoreboard);