fixed numerous leaks

This commit is contained in:
Dominik Maier
2020-03-09 19:27:22 +01:00
committed by Dominik Maier
parent a24352ddfd
commit 782cffb130
5 changed files with 124 additions and 23 deletions

View File

@ -373,7 +373,7 @@ void read_testcases(afl_state_t* afl) {
u8 passed_det = 0;
free(nl[i]); /* not tracked */
ck_free(nl[i]); /* not tracked */
if (lstat(fn2, &st) || access(fn2, R_OK))
PFATAL("Unable to access '%s'", fn2);
@ -404,7 +404,7 @@ void read_testcases(afl_state_t* afl) {
}
free(nl); /* not tracked */
ck_free(nl); /* not tracked */
if (!afl->queued_paths) {