summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gui/windowmanager.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/windowmanager.cpp b/src/gui/windowmanager.cpp
index 4f51ef525..828e59c65 100644
--- a/src/gui/windowmanager.cpp
+++ b/src/gui/windowmanager.cpp
@@ -439,4 +439,5 @@ void WindowManager::updateScreenKeyboard(const int height)
void WindowManager::deleteIcon()
{
MSDL_FreeSurface(mIcon);
+ mIcon = nullptr;
}