Fixes dummy leak in fuzz driver
@@ -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;
}
