From 028691393726e015f99930d7d702f381a716d3a9 Mon Sep 17 00:00:00 2001 From: Andi Gutmans Date: Thu, 12 Aug 2004 06:17:42 +0000 Subject: [PATCH] - Use FREE_HASHTABLE() --- ext/standard/array.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- 2.40.0