summaryrefslogtreecommitdiff
path: root/ext/standard/assert.c
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2001-02-27 20:16:35 +0000
committerAndi Gutmans <andi@php.net>2001-02-27 20:16:35 +0000
commit01ed33d1b610084d7bdd206613b3351133a78e0b (patch)
tree7966b2b36625483bab43ab022b69c694eec8d777 /ext/standard/assert.c
parent5e5f5886ff095cb0efdcfcd531deaff28f6a75bc (diff)
downloadphp-git-01ed33d1b610084d7bdd206613b3351133a78e0b.tar.gz
- Pointed out by Andrei. zval_ptr_dtor() should be used instead of the
zval_del_ref() function which should be nuked.
Diffstat (limited to 'ext/standard/assert.c')
-rw-r--r--ext/standard/assert.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/assert.c b/ext/standard/assert.c
index 5bc569865d..91eb3fde4e 100644
--- a/ext/standard/assert.c
+++ b/ext/standard/assert.c
@@ -227,9 +227,9 @@ PHP_FUNCTION(assert)
call_user_function(CG(function_table), NULL, args[0], retval, 3, args+1);
for (i = 0; i < 4; i++) {
- zval_del_ref(&(args[i]));
+ zval_ptr_dtor(&(args[i]));
}
- zval_del_ref(&retval);
+ zval_ptr_dtor(&retval);
}
if (ASSERT(warning)) {