Ignore:
Timestamp:
12 Jun 2013, 14:01:34 (12 years ago)
Author:
tech
Message:

Fixed some minor memory leaks.

Location:
branches/HTM-DEV-0.3-dev2a/source/Lib/TLibEncoder
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-DEV-0.3-dev2a/source/Lib/TLibEncoder/TEncCu.cpp

    r464 r465  
    177177    m_ppcTempCU = NULL;
    178178  }
    179  
     179
     180#if H_3D_ARP
     181  if(m_ppcWeightedTempCU)
     182  {
     183    delete [] m_ppcWeightedTempCU;
     184    m_ppcWeightedTempCU = NULL;
     185  }
     186#endif
    180187  if(m_ppcPredYuvBest)
    181188  {
  • branches/HTM-DEV-0.3-dev2a/source/Lib/TLibEncoder/TEncGOP.cpp

    r464 r465  
    683683        if( iViewIdx<getViewIndex() && !bIsDepth )
    684684        {
     685          //GT (IVREFS): m_tAppEncTop is not needed any more. Reference pictures can be obtained from m_ivPicLists. Should be fixed later.
    685686          pcSlice->setBaseViewRefPicList( m_pcEncTop->getTAppEncTop()->getTEncTop( iLayerId )->getListPic(), iViewIdx );
    686687        }
  • branches/HTM-DEV-0.3-dev2a/source/Lib/TLibEncoder/TEncTop.h

    r464 r465  
    214214#endif
    215215#if H_3D_ARP
     216  //GT (IVREFS): m_tAppDecTop is not needed any more. Reference pictures can be obtained from m_ivPicLists. Should be fixed later.
    216217  Void            setTAppEncTop( TAppEncTop* pcTAppEncTop ) { m_pcTAppEncTop = pcTAppEncTop; }
    217218  TAppEncTop*     getTAppEncTop()                           { return  m_pcTAppEncTop; }
Note: See TracChangeset for help on using the changeset viewer.