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