diff --git a/source/Lib/CommonLib/InterPrediction.cpp b/source/Lib/CommonLib/InterPrediction.cpp
index 216bde76cc5c10d87167d79c2283035b6b93e1a1..c920aedaaa691e2cbeabd861d503feb93cfe68df 100644
--- a/source/Lib/CommonLib/InterPrediction.cpp
+++ b/source/Lib/CommonLib/InterPrediction.cpp
@@ -128,6 +128,7 @@ void InterPrediction::destroy()
   if (m_storedMv != nullptr)
   {
     delete[]m_storedMv;
+    m_storedMv = nullptr;
   }
 #endif