From: Georg Richter Date: Wed, 10 Dec 2003 10:06:07 +0000 (+0000) Subject: freeing result and stmt properties in MSHUTDOWN X-Git-Tag: php-5.0.0b3RC1~152 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1be7176c7b46bdd9439bc5373cb6a6536fa0a8e9;p=php freeing result and stmt properties in MSHUTDOWN --- 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();