Ticket #19: TMuC_r81_MemLeakPatch.patch

File TMuC_r81_MemLeakPatch.patch, 804 bytes (added by li@…, 12 years ago)

patch for bug fix

  • source/Lib/TLibEncoder/TEncAdaptiveLoopFilter.cpp

     
    20192019  xDestroyTmpAlfCtrlFlags();
    20202020
    20212021  m_pcPicYuvTmp->destroyLuma();
     2022  delete m_pcPicYuvTmp;
    20222023  m_pcPicYuvTmp = NULL;
    20232024  m_pcPic = NULL;
    20242025  m_pcEntropyCoder = NULL;
    20252026
    20262027  freeALFParam(m_pcBestAlfParam);
    20272028  freeALFParam(m_pcTempAlfParam);
     2029  delete m_pcBestAlfParam;
     2030  delete m_pcTempAlfParam;
    20282031#if QC_ALF
    20292032  free_mem2Dpel (imgY_rec);
    20302033  free_mem2Dpel (imgY_org);
     
    20472050  //  FreeALFGlobalBurrers();
    20482051  freeALFParam(ALFp);
    20492052  freeALFParam(tempALFp);
     2053  delete ALFp;
     2054  delete tempALFp;
    20502055#endif
    20512056}
    20522057