Skip to content

Fix memory leak from !2004

Seungwook Hong requested to merge seuhong/VVCSoftware_VTM:master into master

Deallocate the memory picHeader allocated from DecLib::xActivateParameterSets() below

#if GDR_ENABLED PicHeader *picHeader = new PicHeader; *picHeader = m_picHeader; m_apcSlicePilot->setPicHeader(picHeader); m_pcPic->finalInit(vps, *sps, *pps, picHeader, apss, lmcsAPS, scalinglistAPS); #else m_pcPic->finalInit( vps, *sps, *pps, &m_picHeader, apss, lmcsAPS, scalinglistAPS ); #endif

Merge request reports

Loading