summaryrefslogtreecommitdiff
path: root/ext/readline
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/readline
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/readline')
-rw-r--r--ext/readline/readline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/readline/readline.c b/ext/readline/readline.c
index 679f0b2050..f9a83a0fb2 100644
--- a/ext/readline/readline.c
+++ b/ext/readline/readline.c
@@ -397,7 +397,7 @@ static char **_readline_completion_cb(char *text, int start, int end)
}
for (i = 0; i < 4; i++) {
- zval_del_ref(&params[i]);
+ zval_ptr_dtor(&params[i]);
}
zval_dtor(&_readline_array);