Index: Lib/TLibEncoder/TEncCu.cpp
===================================================================
--- Lib/TLibEncoder/TEncCu.cpp	(revision 292)
+++ Lib/TLibEncoder/TEncCu.cpp	(working copy)
@@ -470,6 +470,7 @@
   {
     if(m_pcMrgPredTempYuv[idx])
     {
+      m_pcMrgPredTempYuv[idx]->destroy();
       delete m_pcMrgPredTempYuv[idx];
       m_pcMrgPredTempYuv[idx] = NULL;
     }
