diff options
author | David Carlier <devnexen@gmail.com> | 2019-07-21 14:48:46 +0100 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-07-24 12:06:40 +0200 |
commit | b05f3643338a1647604fbddf3607fc9826713e25 (patch) | |
tree | 2d8a1c1f4b304fcb31ff1fb2085fe6bdaa916ff3 | |
parent | 126dd8e1eb3b5fbc2a0eb2a1e24519768dee2acc (diff) | |
download | php-git-b05f3643338a1647604fbddf3607fc9826713e25.tar.gz |
Fix bindpath mem leak in cgi
Closes GH-4451.
-rw-r--r-- | sapi/cgi/cgi_main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sapi/cgi/cgi_main.c b/sapi/cgi/cgi_main.c index 81de65351f..c885f30677 100644 --- a/sapi/cgi/cgi_main.c +++ b/sapi/cgi/cgi_main.c @@ -1957,6 +1957,7 @@ consult the installation file that came with this distribution, or visit \n\ */ tsrm_shutdown(); #endif + free(bindpath); return FAILURE; } } |