Commit bbf94d32 authored by Frank Bossen's avatar Frank Bossen
Browse files

Merge branch 'fix_memory_leak' into 'master'

Fix memory leak In palette mode

See merge request jvet/VVCSoftware_VTM!825
parents cefa4def 4885a19e
......@@ -728,6 +728,20 @@ void BestEncInfoCache::destroy()
delete[] m_pCoeff;
delete[] m_pPcmBuf;
if (m_runType != nullptr)
delete[] m_runType;
m_runType = nullptr;
if (m_runLength != nullptr)
delete[] m_runLength;
m_runLength = nullptr;
void BestEncInfoCache::init( const Slice &slice )
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment