We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96ab6ac commit 4907faeCopy full SHA for 4907fae
ext/readline/readline.c
@@ -187,7 +187,7 @@ PHP_RSHUTDOWN_FUNCTION(readline)
187
#if HAVE_RL_CALLBACK_READ_CHAR
188
if (_prepped_callback) {
189
rl_callback_handler_remove();
190
- FREE_ZVAL(_prepped_callback);
+ zval_ptr_dtor(&_prepped_callback);
191
_prepped_callback = 0;
192
}
193
#endif
@@ -556,10 +556,11 @@ PHP_FUNCTION(readline_callback_handler_install)
556
efree(name);
557
RETURN_FALSE;
558
559
+ efree(name);
560
561
562
563
564
565
566
MAKE_STD_ZVAL(_prepped_callback);
0 commit comments