From feb7e2c9b02e77fe22470649bc069b845b2bb12e Mon Sep 17 00:00:00 2001 From: Nick Wellnhofer Date: Mon, 25 Mar 2024 18:02:41 +0100 Subject: [PATCH] Fix memory leak --- fuzz/cmark-fuzz.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fuzz/cmark-fuzz.c b/fuzz/cmark-fuzz.c index 33ce23655..8ad7bc36a 100644 --- a/fuzz/cmark-fuzz.c +++ b/fuzz/cmark-fuzz.c @@ -55,6 +55,7 @@ int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { } doc = cmark_parser_finish(parser); + cmark_parser_free(parser); break; }