Fixes dummy leak in fuzz driver
This commit is contained in:
parent
2b7c9a2e1a
commit
3abe15bc2c
1 changed files with 2 additions and 0 deletions
|
@ -38,12 +38,14 @@ int main(int argc, char** argv)
|
|||
return 2;
|
||||
}
|
||||
if (fread(Data, Size, 1, fp) != 1) {
|
||||
free(Data);
|
||||
fclose(fp);
|
||||
return 2;
|
||||
}
|
||||
|
||||
//lauch fuzzer
|
||||
LLVMFuzzerTestOneInput(Data, Size);
|
||||
free(Data);
|
||||
fclose(fp);
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue