From e4980598c5f1fcac1785eb5a72ec202a90232139 Mon Sep 17 00:00:00 2001 From: Philip de Nier Date: Mon, 11 Nov 2024 10:52:38 +0000 Subject: [PATCH] Fix KLVEssenceReader memory leak --- src/essence_parser/KLVEssenceReader.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/essence_parser/KLVEssenceReader.cpp b/src/essence_parser/KLVEssenceReader.cpp index aa09496a..7c08a665 100644 --- a/src/essence_parser/KLVEssenceReader.cpp +++ b/src/essence_parser/KLVEssenceReader.cpp @@ -50,6 +50,7 @@ KLVEssenceReader::KLVEssenceReader(KLVEssenceSource *essence_source) KLVEssenceReader::~KLVEssenceReader() { + delete mEssenceSource; } uint32_t KLVEssenceReader::ReadValue()