summaryrefslogtreecommitdiff
path: root/src/resources/emotedb.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/emotedb.cpp')
-rw-r--r--src/resources/emotedb.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/resources/emotedb.cpp b/src/resources/emotedb.cpp
index b0536a0e..a7130d58 100644
--- a/src/resources/emotedb.cpp
+++ b/src/resources/emotedb.cpp
@@ -110,6 +110,10 @@ void EmoteDB::unload()
emote.sprite->releaseImageRef();
mEmotes.clear();
+
+ if (mUnknown.sprite)
+ mUnknown.sprite->releaseImageRef();
+
mLoaded = false;
}