]> granicus.if.org Git - php/commitdiff
- Use FREE_HASHTABLE instead of efree()
authorAndi Gutmans <andi@php.net>
Wed, 26 May 2004 18:00:27 +0000 (18:00 +0000)
committerAndi Gutmans <andi@php.net>
Wed, 26 May 2004 18:00:27 +0000 (18:00 +0000)
ext/standard/basic_functions.c

index 1c31c2766d2d9180519dd72543cca2ac7b84468d..6fcab6d761175ac2d36bd3c67f92d9bde591c4cc 100644 (file)
@@ -2153,7 +2153,7 @@ void php_call_shutdown_functions(void)
                        zend_hash_apply(BG(user_shutdown_function_names), (apply_func_t) user_shutdown_function_call TSRMLS_CC);
                        memcpy(&EG(bailout), &orig_bailout, sizeof(jmp_buf));
                        zend_hash_destroy(BG(user_shutdown_function_names));
-                       efree(BG(user_shutdown_function_names));
+                       FREE_HASHTABLE(BG(user_shutdown_function_names));
                }
                zend_end_try();
 }