From: Andi Gutmans Date: Thu, 12 Aug 2004 06:17:42 +0000 (+0000) Subject: - Use FREE_HASHTABLE() X-Git-Tag: PRE_ZEND_VM_DISPATCH_PATCH~177 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=028691393726e015f99930d7d702f381a716d3a9;p=php - Use FREE_HASHTABLE() --- diff --git a/ext/standard/array.c b/ext/standard/array.c index f7ea8d1d96..bfb06e2eaa 100644 --- a/ext/standard/array.c +++ b/ext/standard/array.c @@ -1988,7 +1988,7 @@ PHP_FUNCTION(array_unshift) hashtable and replace it with new one */ new_hash = php_splice(Z_ARRVAL_P(stack), 0, 0, &args[1], argc-1, NULL); zend_hash_destroy(Z_ARRVAL_P(stack)); - efree(Z_ARRVAL_P(stack)); + FREE_HASHTABLE(Z_ARRVAL_P(stack)); Z_ARRVAL_P(stack) = new_hash; /* Clean up and return the number of elements in the stack */