From 8448f1c4c07f49caa83a755e732918320e0e161f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 29 Jun 2012 21:43:15 +0300 Subject: Fix npc font leak on exit. --- src/gui/gui.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gui/gui.cpp') 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; -- cgit v1.2.3-70-g09d2