From b05f3643338a1647604fbddf3607fc9826713e25 Mon Sep 17 00:00:00 2001 From: David Carlier Date: Sun, 21 Jul 2019 14:48:46 +0100 Subject: [PATCH] Fix bindpath mem leak in cgi Closes GH-4451. --- sapi/cgi/cgi_main.c | 1 + 1 file changed, 1 insertion(+) 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; } } -- 2.40.0