diff options
Diffstat (limited to 'testing/libfuzzer/pdf_streamparser_fuzzer.cc')
-rw-r--r-- | testing/libfuzzer/pdf_streamparser_fuzzer.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/libfuzzer/pdf_streamparser_fuzzer.cc b/testing/libfuzzer/pdf_streamparser_fuzzer.cc index 77580a91f8..a0287c935a 100644 --- a/testing/libfuzzer/pdf_streamparser_fuzzer.cc +++ b/testing/libfuzzer/pdf_streamparser_fuzzer.cc @@ -10,7 +10,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { CPDF_StreamParser parser(data, size); while (CPDF_Object* pObj = parser.ReadNextObject(true, 0)) - pObj->Release(); + delete pObj; return 0; } |