diff options
author | Andi Gutmans <andi@php.net> | 2001-02-27 20:16:35 +0000 |
---|---|---|
committer | Andi Gutmans <andi@php.net> | 2001-02-27 20:16:35 +0000 |
commit | 01ed33d1b610084d7bdd206613b3351133a78e0b (patch) | |
tree | 7966b2b36625483bab43ab022b69c694eec8d777 /ext/readline | |
parent | 5e5f5886ff095cb0efdcfcd531deaff28f6a75bc (diff) | |
download | php-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.c | 2 |
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(¶ms[i]); + zval_ptr_dtor(¶ms[i]); } zval_dtor(&_readline_array); |