mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-02-17 20:45:37 +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()
|
GuiInfoPopup::~GuiInfoPopup()
|
||||||
{
|
{
|
||||||
|
delete mGrid;
|
||||||
|
delete mFrame;
|
||||||
}
|
}
|
||||||
|
|
||||||
void GuiInfoPopup::render(const Transform4x4f& /*parentTrans*/)
|
void GuiInfoPopup::render(const Transform4x4f& /*parentTrans*/)
|
||||||
|
|
|
@ -50,6 +50,9 @@ Window::~Window()
|
||||||
while (peekGui())
|
while (peekGui())
|
||||||
delete peekGui();
|
delete peekGui();
|
||||||
|
|
||||||
|
if (mInfoPopup)
|
||||||
|
delete mInfoPopup;
|
||||||
|
|
||||||
delete mHelp;
|
delete mHelp;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue