mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-21 09:23:51 +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 ()
|
MessageBoxManager::~MessageBoxManager ()
|
||||||
{
|
{
|
||||||
for (MessageBox* messageBox : mMessageBoxes)
|
MessageBoxManager::clear();
|
||||||
{
|
|
||||||
delete messageBox;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int MessageBoxManager::getMessagesCount()
|
int MessageBoxManager::getMessagesCount()
|
||||||
|
|
Loading…
Reference in a new issue