diff --git a/ext/fdf/fdf.c b/ext/fdf/fdf.c index db3a88e6d7d..fb12826bc70 100644 --- a/ext/fdf/fdf.c +++ b/ext/fdf/fdf.c @@ -145,7 +145,7 @@ PHP_MINIT_FUNCTION(fdf) le_fdf = zend_register_list_destructors_ex(phpi_FDFClose, NULL, "fdf", module_number); /* add handler for Acrobat FDF form post requests */ - sapi_register_post_entry(&php_fdf_post_entry); + sapi_register_post_entry(&php_fdf_post_entry TSRMLS_CC); /* Constants used by fdf_set_opt() */ @@ -215,7 +215,7 @@ PHP_MINFO_FUNCTION(fdf) PHP_MSHUTDOWN_FUNCTION(fdf) { /* remove handler for Acrobat FDF form post requests */ - sapi_unregister_post_entry(&php_fdf_post_entry); + sapi_unregister_post_entry(&php_fdf_post_entry TSRMLS_CC); #ifdef PHP_WIN32 return SUCCESS;