mirror of
https://github.com/LongSoft/UEFITool.git
synced 2024-11-23 16:38:23 +08:00
Release memory in fuzzer
This commit is contained in:
parent
ea38ab3696
commit
37372cdab4
@ -27,5 +27,8 @@ extern "C" int LLVMFuzzerTestOneInput(const char *Data, long long Size) {
|
|||||||
// Parse the image
|
// Parse the image
|
||||||
(void)ffsParser->parse(UByteArray(Data, (uint32_t)Size));
|
(void)ffsParser->parse(UByteArray(Data, (uint32_t)Size));
|
||||||
|
|
||||||
|
delete model;
|
||||||
|
delete ffsParser;
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user