mirror of
https://github.com/OpenMW/openmw.git
synced 2025-03-28 11:36:41 +00:00
Avoid possible memory leak in the mInterMessageBoxe field
This commit is contained in:
parent
8e5f26c109
commit
a80ee7a76a
1 changed files with 1 additions and 4 deletions
|
@ -28,10 +28,7 @@ namespace MWGui
|
|||
|
||||
MessageBoxManager::~MessageBoxManager ()
|
||||
{
|
||||
for (MessageBox* messageBox : mMessageBoxes)
|
||||
{
|
||||
delete messageBox;
|
||||
}
|
||||
MessageBoxManager::clear();
|
||||
}
|
||||
|
||||
int MessageBoxManager::getMessagesCount()
|
||||
|
|
Loading…
Reference in a new issue