Changeset 121 in 3DVCSoftware for trunk/source/Lib/TLibCommon/TComPicSym.cpp


Ignore:
Timestamp:
6 Sep 2012, 18:12:56 (12 years ago)
Author:
tech
Message:

Fixed several memory leaks.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/Lib/TLibCommon/TComPicSym.cpp

    r56 r121  
    122122  m_apcTComDataCU = NULL;
    123123
     124
     125#if FIX_MEM_LEAKS
     126  for( i=0; i<(m_iNumColumnsMinus1+1)*(m_iNumRowsMinus1+1); i++ )
     127  {
     128    if ( m_apcTComTile[i] )  delete m_apcTComTile[i];
     129  }
     130#endif
     131
    124132  delete [] m_apcTComTile;
    125133  m_apcTComTile = NULL;
Note: See TracChangeset for help on using the changeset viewer.