Fixed a memory leak for GuiInfoPopup notifications.

This commit is contained in:
Leon Styhre 2020-10-11 09:59:49 +02:00
parent 896a6d2216
commit 70f7382680
2 changed files with 5 additions and 0 deletions

View file

@ -71,6 +71,8 @@ GuiInfoPopup::GuiInfoPopup(
GuiInfoPopup::~GuiInfoPopup()
{
delete mGrid;
delete mFrame;
}
void GuiInfoPopup::render(const Transform4x4f& /*parentTrans*/)

View file

@ -50,6 +50,9 @@ Window::~Window()
while (peekGui())
delete peekGui();
if (mInfoPopup)
delete mInfoPopup;
delete mHelp;
}