fix leaks

This commit is contained in:
van Hauser
2020-03-09 15:52:14 +01:00
parent 2f41663673
commit a24352ddfd
6 changed files with 10 additions and 0 deletions

View File

@ -1032,6 +1032,7 @@ int main(int argc, char** argv, char** envp) {
u8 child_timed_out = fsrv->child_timed_out;
afl_fsrv_deinit(fsrv);
free(fsrv);
if (stdin_file) ck_free(stdin_file);
exit(child_crashed * 2 + child_timed_out);