diff --git a/_studio/enctools/aenc/src/av1_asc.cpp b/_studio/enctools/aenc/src/av1_asc.cpp index dcb35a0699..4cf47c1afa 100644 --- a/_studio/enctools/aenc/src/av1_asc.cpp +++ b/_studio/enctools/aenc/src/av1_asc.cpp @@ -1121,7 +1121,7 @@ namespace aenc { delete m_support->logic[i]; delete[] m_support->logic; } - if (m_support->gainCorrection->Image.data != nullptr) + if (m_support->gainCorrection != nullptr) delete m_support->gainCorrection; }