diff --git a/es-app/src/guis/GuiInfoPopup.cpp b/es-app/src/guis/GuiInfoPopup.cpp index 1cc64d49b..632cf78ce 100644 --- a/es-app/src/guis/GuiInfoPopup.cpp +++ b/es-app/src/guis/GuiInfoPopup.cpp @@ -71,6 +71,8 @@ GuiInfoPopup::GuiInfoPopup( GuiInfoPopup::~GuiInfoPopup() { + delete mGrid; + delete mFrame; } void GuiInfoPopup::render(const Transform4x4f& /*parentTrans*/) diff --git a/es-core/src/Window.cpp b/es-core/src/Window.cpp index ed39d2004..56cef4987 100644 --- a/es-core/src/Window.cpp +++ b/es-core/src/Window.cpp @@ -50,6 +50,9 @@ Window::~Window() while (peekGui()) delete peekGui(); + if (mInfoPopup) + delete mInfoPopup; + delete mHelp; }