summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/sablot/sablot.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/sablot/sablot.c b/ext/sablot/sablot.c
index 558e7fb87f..d8ae642b01 100644
--- a/ext/sablot/sablot.c
+++ b/ext/sablot/sablot.c
@@ -175,8 +175,11 @@ ZEND_GET_MODULE(sablot)
/* MINIT and MINFO Functions */
PHP_MINIT_FUNCTION(sablot)
{
+ SABLOTLS_FETCH();
le_sablot = zend_register_list_destructors_ex(_php_sablot_free_processor, NULL, "Sablotron XSLT", module_number);
+ SABLOTG(processor) = NULL;
+
return SUCCESS;
}