summaryrefslogtreecommitdiff
path: root/src
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
parent14eee5a0868eb28b299882822ae5dae059f5f6bb (diff)
downloadManaVerse-8448f1c4c07f49caa83a755e732918320e0e161f.tar.gz
ManaVerse-8448f1c4c07f49caa83a755e732918320e0e161f.tar.bz2
ManaVerse-8448f1c4c07f49caa83a755e732918320e0e161f.tar.xz
ManaVerse-8448f1c4c07f49caa83a755e732918320e0e161f.zip
Fix npc font leak on exit.
Diffstat (limited to 'src')
-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;