summaryrefslogtreecommitdiff
path: root/main/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/main.c')
-rw-r--r--main/main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/main/main.c b/main/main.c
index c88ea7fc97..6224035bac 100644
--- a/main/main.c
+++ b/main/main.c
@@ -698,9 +698,11 @@ int php_request_startup(TSRMLS_D)
*/
void php_request_shutdown_for_exec(void *dummy)
{
+ TSRMLS_FETCH();
+
/* used to close fd's in the 3..255 range here, but it's problematic
*/
- shutdown_memory_manager(1, 1);
+ shutdown_memory_manager(1, 1 TSRMLS_CC);
}
/* }}} */