mirror of
https://github.com/php/php-src.git
synced 2026-04-29 19:23:22 +02:00
- MFB: Fixed mem. leak
This commit is contained in:
@@ -504,6 +504,7 @@ PHP_FUNCTION(readline_callback_handler_install)
|
||||
|
||||
if (!zend_is_callable(callback, 0, &name)) {
|
||||
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s is not callable", name);
|
||||
efree(name);
|
||||
RETURN_FALSE;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user