1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-10 03:39:55 +00:00

Avoid possible memory leak in the mInterMessageBoxe field

This commit is contained in:
Andrei Kortunov 2021-01-09 14:43:00 +04:00
parent 8e5f26c109
commit a80ee7a76a

View File

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