summaryrefslogtreecommitdiff
path: root/ext/readline
diff options
context:
space:
mode:
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);