summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-06-29 21:43:15 +0300
committerAndrei Karas <akaras@inbox.ru>2012-06-29 21:43:15 +0300
commit8448f1c4c07f49caa83a755e732918320e0e161f (patch)
treed01deb68c746269f669e8d132c67e85d1c3eb077 /src/gui
parent14eee5a0868eb28b299882822ae5dae059f5f6bb (diff)
downloadmv-8448f1c4c07f49caa83a755e732918320e0e161f.tar.gz
mv-8448f1c4c07f49caa83a755e732918320e0e161f.tar.bz2
mv-8448f1c4c07f49caa83a755e732918320e0e161f.tar.xz
mv-8448f1c4c07f49caa83a755e732918320e0e161f.zip
Fix npc font leak on exit.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/gui.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp
index 8dcaaafa1..84a13ddba 100644
--- a/src/gui/gui.cpp
+++ b/src/gui/gui.cpp
@@ -247,6 +247,8 @@ Gui::~Gui()
mSecureFont = nullptr;
delete mInfoParticleFont;
mInfoParticleFont = nullptr;
+ delete mNpcFont;
+ mNpcFont = nullptr;
delete getTop();
delete guiInput;