mirror of
https://github.com/LongSoft/UEFITool.git
synced 2025-05-13 06:34:42 -04:00
Release memory in fuzzer
This commit is contained in:
parent
ea38ab3696
commit
37372cdab4
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue