From ba8ac8e292798e74c9291d3a8525de638261d12e Mon Sep 17 00:00:00 2001 From: Pavel Krajcevski Date: Fri, 31 Aug 2012 23:22:05 -0400 Subject: [PATCH] Fix memory leak --- Core/src/ThreadGroup.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Core/src/ThreadGroup.cpp b/Core/src/ThreadGroup.cpp index fae2f5c..4851e59 100644 --- a/Core/src/ThreadGroup.cpp +++ b/Core/src/ThreadGroup.cpp @@ -65,6 +65,8 @@ ThreadGroup::ThreadGroup( int numThreads, const ImageFile &image, CompressionFun ThreadGroup::~ThreadGroup() { delete m_Barrier; + delete m_FinishMutex; + delete m_FinishCV; } unsigned int ThreadGroup::GetCompressedBlockSize() {