Another attempt at fixing 8036

This commit is contained in:
Sterling Hughes 2000-12-03 19:13:41 +00:00
parent 56094458b7
commit aa2d9117d9
2 changed files with 8 additions and 6 deletions

View file

@ -34,9 +34,11 @@ extern zend_module_entry sablot_module_entry;
/* Module functions */
PHP_MINIT_FUNCTION(sablot);
PHP_MSHUTDOWN_FUNCTION(sablot);
PHP_MINFO_FUNCTION(sablot);
/* Request functions */
PHP_RSHUTDOWN_FUNCTION(sablot);
/* Output transformation functions */
PHP_FUNCTION(xslt_output_begintransform);
PHP_FUNCTION(xslt_output_endtransform);

View file

@ -160,9 +160,9 @@ zend_module_entry sablot_module_entry = {
"sablot",
sablot_functions,
PHP_MINIT(sablot),
PHP_MSHUTDOWN(sablot),
NULL,
NULL,
NULL,
PHP_RSHUTDOWN(sablot),
PHP_MINFO(sablot),
STANDARD_MODULE_PROPERTIES
};
@ -180,15 +180,15 @@ PHP_MINIT_FUNCTION(sablot)
return SUCCESS;
}
PHP_MSHUTDOWN_FUNCTION(sablot)
PHP_RSHUTDOWN_FUNCTION(sablot)
{
SABLOTLS_FETCH();
if (SABLOTG(processor)) {
SablotUnregHandler(SABLOTG(processor), HLR_MESSAGE, NULL, NULL);
SablotDestroyProcessor(SABLOTG(processor));
}
return SUCCESS;
}