Ticket #19: TMuC_r81_MemLeakPatch.patch
File TMuC_r81_MemLeakPatch.patch, 804 bytes (added by li@…, 13 years ago) |
---|
-
source/Lib/TLibEncoder/TEncAdaptiveLoopFilter.cpp
2019 2019 xDestroyTmpAlfCtrlFlags(); 2020 2020 2021 2021 m_pcPicYuvTmp->destroyLuma(); 2022 delete m_pcPicYuvTmp; 2022 2023 m_pcPicYuvTmp = NULL; 2023 2024 m_pcPic = NULL; 2024 2025 m_pcEntropyCoder = NULL; 2025 2026 2026 2027 freeALFParam(m_pcBestAlfParam); 2027 2028 freeALFParam(m_pcTempAlfParam); 2029 delete m_pcBestAlfParam; 2030 delete m_pcTempAlfParam; 2028 2031 #if QC_ALF 2029 2032 free_mem2Dpel (imgY_rec); 2030 2033 free_mem2Dpel (imgY_org); … … 2047 2050 // FreeALFGlobalBurrers(); 2048 2051 freeALFParam(ALFp); 2049 2052 freeALFParam(tempALFp); 2053 delete ALFp; 2054 delete tempALFp; 2050 2055 #endif 2051 2056 } 2052 2057