Correct delete[] in mxcontrolpresenter.cpp (#1498)

This commit is contained in:
Anders Jenbo 2025-05-17 22:24:06 +02:00 committed by GitHub
parent 46ae3fbe89
commit 2d92aee589
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -28,7 +28,7 @@ MxControlPresenter::MxControlPresenter()
MxControlPresenter::~MxControlPresenter() MxControlPresenter::~MxControlPresenter()
{ {
if (m_states) { if (m_states) {
delete m_states; delete[] m_states;
} }
} }