Release memory in fuzzer

This commit is contained in:
yeggor 2023-03-17 02:18:35 +04:00 committed by Nikolaj Schlej
parent ea38ab3696
commit 37372cdab4

View File

@ -27,5 +27,8 @@ extern "C" int LLVMFuzzerTestOneInput(const char *Data, long long Size) {
// Parse the image
(void)ffsParser->parse(UByteArray(Data, (uint32_t)Size));
delete model;
delete ffsParser;
return 0;
}