Fix deletion of modeArray

This commit is contained in:
Christian Semmler 2024-01-04 14:31:14 -05:00
parent e7295f6744
commit 6695ae95e7

View File

@ -1127,6 +1127,6 @@ MxDirectDraw::DeviceModesInfo::~DeviceModesInfo()
} }
if (m_modeArray != NULL) { if (m_modeArray != NULL) {
delete m_modeArray; delete[] m_modeArray;
} }
} }