summaryrefslogtreecommitdiff
path: root/suhosin.c
diff options
context:
space:
mode:
authorStefan Esser2012-02-12 10:47:10 +0100
committerStefan Esser2012-02-12 10:47:10 +0100
commitaf51a7f576f0cec1d2c94b9bbb3dfb46dd466a66 (patch)
tree32e834a3b76912f11a8934d0e526470f70121203 /suhosin.c
parente1d86b42a6bb56efb1c073e238412fe277f4f895 (diff)
Fix ZTS compile problem
Diffstat (limited to 'suhosin.c')
-rw-r--r--suhosin.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/suhosin.c b/suhosin.c
index 9829896..01f987c 100644
--- a/suhosin.c
+++ b/suhosin.c
@@ -189,9 +189,11 @@ static int suhosin_module_startup(zend_extension *extension)
189 189
190static void suhosin_shutdown(zend_extension *extension) 190static void suhosin_shutdown(zend_extension *extension)
191{ 191{
192 TSRMLS_FETCH();
193
192 suhosin_unhook_execute(); 194 suhosin_unhook_execute();
193 suhosin_unhook_header_handler(); 195 suhosin_unhook_header_handler();
194 suhosin_unhook_post_handlers(); 196 suhosin_unhook_post_handlers(TSRMLS_C);
195 /* suhosin_unhook_session(); - enabling this causes compability problems */ 197 /* suhosin_unhook_session(); - enabling this causes compability problems */
196 198
197 if (ze != NULL) { 199 if (ze != NULL) {