summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/bcmath/bcmath.c2
-rw-r--r--ext/ldap/ldap.c1
-rw-r--r--ext/soap/soap.c1
-rw-r--r--ext/sqlite/sqlite.c8
4 files changed, 11 insertions, 1 deletions
diff --git a/ext/bcmath/bcmath.c b/ext/bcmath/bcmath.c
index b500458ed1..b4f5de75e5 100644
--- a/ext/bcmath/bcmath.c
+++ b/ext/bcmath/bcmath.c
@@ -100,6 +100,8 @@ PHP_MSHUTDOWN_FUNCTION(bcmath)
_bc_free_num_ex(&BCG(_one_), 1);
_bc_free_num_ex(&BCG(_two_), 1);
+ UNREGISTER_INI_ENTRIES();
+
return SUCCESS;
}
/* }}} */
diff --git a/ext/ldap/ldap.c b/ext/ldap/ldap.c
index 2308bfda2a..c8e62b74af 100644
--- a/ext/ldap/ldap.c
+++ b/ext/ldap/ldap.c
@@ -286,6 +286,7 @@ PHP_MINIT_FUNCTION(ldap)
*/
PHP_MSHUTDOWN_FUNCTION(ldap)
{
+ UNREGISTER_INI_ENTRIES();
return SUCCESS;
}
/* }}} */
diff --git a/ext/soap/soap.c b/ext/soap/soap.c
index 6c4ff14d2a..fe6821bd62 100644
--- a/ext/soap/soap.c
+++ b/ext/soap/soap.c
@@ -409,6 +409,7 @@ PHP_MSHUTDOWN_FUNCTION(soap)
zend_hash_destroy(&SOAP_GLOBAL(defEnc));
zend_hash_destroy(&SOAP_GLOBAL(defEncIndex));
zend_hash_destroy(&SOAP_GLOBAL(defEncNs));
+ UNREGISTER_INI_ENTRIES();
return SUCCESS;
}
diff --git a/ext/sqlite/sqlite.c b/ext/sqlite/sqlite.c
index 60f3bb7790..8f77c2770b 100644
--- a/ext/sqlite/sqlite.c
+++ b/ext/sqlite/sqlite.c
@@ -261,7 +261,7 @@ zend_module_entry sqlite_module_entry = {
"SQLite",
sqlite_functions,
PHP_MINIT(sqlite),
- NULL,
+ PHP_MSHUTDOWN(sqlite),
PHP_RINIT(sqlite),
PHP_RSHUTDOWN(sqlite),
PHP_MINFO(sqlite),
@@ -1054,6 +1054,12 @@ PHP_MINIT_FUNCTION(sqlite)
return SUCCESS;
}
+PHP_MSHUTDOWN_FUNCTION(sqlite)
+{
+ UNREGISTER_INI_ENTRIES();
+ return SUCCESS;
+}
+
PHP_RINIT_FUNCTION(sqlite)
{
return SUCCESS;