diff options
| author | Felipe Pena <felipe@php.net> | 2008-09-10 13:48:14 +0000 |
|---|---|---|
| committer | Felipe Pena <felipe@php.net> | 2008-09-10 13:48:14 +0000 |
| commit | 56ed148d6472ac101821688c3e68a00184ea87f5 (patch) | |
| tree | f0fe00413c248b57286b8dc94658f62d75528d74 /ext | |
| parent | 098c1b53978ddb391324d568b9f4c23ac4595810 (diff) | |
| download | php-git-56ed148d6472ac101821688c3e68a00184ea87f5.tar.gz | |
- MFB: Fixed mem. leak
Diffstat (limited to 'ext')
| -rw-r--r-- | ext/readline/readline.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/readline/readline.c b/ext/readline/readline.c index 7dbb70e9a7..6bd992726c 100644 --- a/ext/readline/readline.c +++ b/ext/readline/readline.c @@ -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; } |
