mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-17 22:55:38 +00:00
Fixed a memory leak for GuiInfoPopup notifications.
This commit is contained in:
parent
896a6d2216
commit
70f7382680
|
@ -71,6 +71,8 @@ GuiInfoPopup::GuiInfoPopup(
|
|||
|
||||
GuiInfoPopup::~GuiInfoPopup()
|
||||
{
|
||||
delete mGrid;
|
||||
delete mFrame;
|
||||
}
|
||||
|
||||
void GuiInfoPopup::render(const Transform4x4f& /*parentTrans*/)
|
||||
|
|
|
@ -50,6 +50,9 @@ Window::~Window()
|
|||
while (peekGui())
|
||||
delete peekGui();
|
||||
|
||||
if (mInfoPopup)
|
||||
delete mInfoPopup;
|
||||
|
||||
delete mHelp;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue