summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/mysqli/mysqli.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/ext/mysqli/mysqli.c b/ext/mysqli/mysqli.c
index a363f4cc2f..1b8a14861b 100644
--- a/ext/mysqli/mysqli.c
+++ b/ext/mysqli/mysqli.c
@@ -343,9 +343,6 @@ PHP_MINIT_FUNCTION(mysqli)
mysqli_object_handlers.read_property = mysqli_read_property;
mysqli_object_handlers.write_property = mysqli_write_property;
mysqli_object_handlers.get_property_ptr_ptr = NULL;
-// mysqli_object_handlers.call_method = php_mysqli_connect;
-
-/* todo: call method */
zend_hash_init(&classes, 0, NULL, NULL, 1);
@@ -464,6 +461,8 @@ PHP_MINIT_FUNCTION(mysqli)
PHP_MSHUTDOWN_FUNCTION(mysqli)
{
zend_hash_destroy(&mysqli_link_properties);
+ zend_hash_destroy(&mysqli_result_properties);
+ zend_hash_destroy(&mysqli_stmt_properties);
zend_hash_destroy(&classes);
UNREGISTER_INI_ENTRIES();