From e5781b5e34a7f867c8dc7ebc1cbb6e81efaa9b86 Mon Sep 17 00:00:00 2001 From: PilzAdam Date: Fri, 10 May 2013 21:54:50 +0200 Subject: Fix memory leaks: delete font in main and GUIChatConsole --- src/guiChatConsole.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/guiChatConsole.cpp') diff --git a/src/guiChatConsole.cpp b/src/guiChatConsole.cpp index ec23648f8..f31e599dc 100644 --- a/src/guiChatConsole.cpp +++ b/src/guiChatConsole.cpp @@ -121,6 +121,7 @@ GUIChatConsole::GUIChatConsole( GUIChatConsole::~GUIChatConsole() { + delete m_font; } void GUIChatConsole::openConsole(f32 height) -- cgit v1.2.3