diff --git a/source/Lib/DecoderLib/CABACReader.cpp b/source/Lib/DecoderLib/CABACReader.cpp
index 4c76f963d12f52b9fec59b3be12631c7650a8f36..8a4e1307dfe38a57df236535b68ea7043b65999c 100644
--- a/source/Lib/DecoderLib/CABACReader.cpp
+++ b/source/Lib/DecoderLib/CABACReader.cpp
@@ -2151,8 +2151,6 @@ void CABACReader::prediction_unit( PredictionUnit& pu, MergeCtx& mrgCtx )
     CHECK(!((pu.mvd[1 - eCurRefList].getHor() >= MVD_MIN) && (pu.mvd[1 - eCurRefList].getHor() <= MVD_MAX)) || !((pu.mvd[1 - eCurRefList].getVer() >= MVD_MIN) && (pu.mvd[1 - eCurRefList].getVer() <= MVD_MAX)), "Illegal MVD value");
     pu.refIdx[1 - eCurRefList] = pu.cs->slice->getSymRefIdx( 1 - eCurRefList );
   }
-
-  PU::spanMotionInfo( pu, mrgCtx );
 }
 
 void CABACReader::smvd_mode( PredictionUnit& pu )
diff --git a/source/Lib/DecoderLib/DecLib.cpp b/source/Lib/DecoderLib/DecLib.cpp
index 54816dcb69579fc91a7b4b9d0c3ffec22651a9ce..19a3a449f2036ace326f9e3a5a25b0c8424b779b 100644
--- a/source/Lib/DecoderLib/DecLib.cpp
+++ b/source/Lib/DecoderLib/DecLib.cpp
@@ -1220,7 +1220,7 @@ void DecLib::checkSeiInPictureUnit()
   for (uint32_t i = 0; i < seiList.size(); i++)
   {
     uint8_t *payload = std::get<2>(seiList[i]);
-    delete   payload;
+    delete[] payload;
   }
   seiList.clear();
 }