Skip to content

Commit b05f364

Browse files
devnexennikic
authored andcommitted
Fix bindpath mem leak in cgi
Closes GH-4451.
1 parent 126dd8e commit b05f364

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sapi/cgi/cgi_main.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1957,6 +1957,7 @@ consult the installation file that came with this distribution, or visit \n\
19571957
*/
19581958
tsrm_shutdown();
19591959
#endif
1960+
free(bindpath);
19601961
return FAILURE;
19611962
}
19621963
}

0 commit comments

Comments
 (0)