Skip to content
Snippets Groups Projects

Fix: memory release for JVET_AB0155_SGPM

Merged Vadim Seregin requested to merge seregin/ECM:AB0155_SGPM_MEM_RELEASE into master
1 file
+ 5
1
Compare changes
  • Side-by-side
  • Inline
@@ -4739,7 +4739,11 @@ void destroyROM()
}
delete[] g_geoParams;
#if JVET_AA0058_GPM_ADAPTIVE_BLENDING
for (int bldIdx = 0; bldIdx < GEO_BLENDING_NUM; bldIdx++)
#if JVET_AB0155_SGPM
for( int bldIdx = 0; bldIdx < TOTAL_GEO_BLENDING_NUM; bldIdx++ )
#else
for( int bldIdx = 0; bldIdx < GEO_BLENDING_NUM; bldIdx++ )
#endif
{
for (int i = 0; i < GEO_NUM_PRESTORED_MASK; i++)
{
Loading