diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-06-29 21:43:15 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-06-29 21:43:15 +0300 |
commit | 8448f1c4c07f49caa83a755e732918320e0e161f (patch) | |
tree | d01deb68c746269f669e8d132c67e85d1c3eb077 /src/gui | |
parent | 14eee5a0868eb28b299882822ae5dae059f5f6bb (diff) | |
download | mv-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.cpp | 2 |
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; |