View | Details | Raw Unified | Return to bug 50309
Collapse All | Expand All

(-)modules/fcgid/fcgid_pm_main.c (-1 / +3 lines)
Lines 375-381 Link Here
375
        proc->diewhy = FCGID_DIE_SHUTDOWN;
375
        proc->diewhy = FCGID_DIE_SHUTDOWN;
376
        proc_print_exit_info(proc, exitcode, exitwhy,
376
        proc_print_exit_info(proc, exitcode, exitwhy,
377
                             main_server);
377
                             main_server);
378
        apr_pool_destroy(proc->proc_pool);
378
#ifndef WIN32
379
		apr_pool_destroy(proc->proc_pool);
380
#endif
379
        proc->proc_pool = NULL;
381
        proc->proc_pool = NULL;
380
        return 1;
382
        return 1;
381
    }
383
    }
(-)modules/fcgid/fcgid_pm_win.c (-3 / +3 lines)
Lines 123-129 Link Here
123
                     "mod_fcgid: can't create wake up thread");
123
                     "mod_fcgid: can't create wake up thread");
124
        exit(1);
124
        exit(1);
125
    }
125
    }
126
126
	apr_pool_cleanup_register(pconf, main_server,
127
							  procmgr_stop_procmgr, apr_pool_cleanup_null);
128
							  
127
    return APR_SUCCESS;
129
    return APR_SUCCESS;
128
}
130
}
129
131
Lines 249-256 Link Here
249
apr_status_t
251
apr_status_t
250
procmgr_child_init(server_rec * main_server, apr_pool_t * pchild)
252
procmgr_child_init(server_rec * main_server, apr_pool_t * pchild)
251
{
253
{
252
    apr_pool_cleanup_register(pchild, main_server,
253
                              procmgr_stop_procmgr, apr_pool_cleanup_null);
254
    return APR_SUCCESS;
254
    return APR_SUCCESS;
255
}
255
}
256
256

Return to bug 50309