summaryrefslogtreecommitdiff
path: root/ext/odbc/php_odbc.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/odbc/php_odbc.c')
-rw-r--r--ext/odbc/php_odbc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/odbc/php_odbc.c b/ext/odbc/php_odbc.c
index a3dfa88786..90a2a05d41 100644
--- a/ext/odbc/php_odbc.c
+++ b/ext/odbc/php_odbc.c
@@ -331,9 +331,9 @@ PHP_MINIT_FUNCTION(odbc)
#endif
REGISTER_INI_ENTRIES();
- le_result = register_list_destructors(_free_odbc_result, NULL, "odbc result");
- le_conn = register_list_destructors(_close_odbc_conn, NULL, "odbc link");
- le_pconn = register_list_destructors(NULL, _close_odbc_pconn, "odbc link persistent");
+ le_result = zend_register_list_destructors_ex(_free_odbc_result, NULL, "odbc result", module_number);
+ le_conn = zend_register_list_destructors_ex(_close_odbc_conn, NULL, "odbc link", module_number);
+ le_pconn = zend_register_list_destructors_ex(NULL, _close_odbc_pconn, "odbc link persistent", module_number);
odbc_module_entry.type = type;
REGISTER_LONG_CONSTANT("ODBC_BINMODE_PASSTHRU", 0, CONST_CS | CONST_PERSISTENT);