Avoid possible memory leak in the mInterMessageBoxe field

pull/3040/head
Andrei Kortunov 4 years ago
parent 8e5f26c109
commit a80ee7a76a

@ -28,10 +28,7 @@ namespace MWGui
MessageBoxManager::~MessageBoxManager ()
{
for (MessageBox* messageBox : mMessageBoxes)
{
delete messageBox;
}
MessageBoxManager::clear();
}
int MessageBoxManager::getMessagesCount()

Loading…
Cancel
Save