diff --git a/src/guiChatConsole.cpp b/src/guiChatConsole.cpp index ec23648f86cad4d155d76eda76ed672fc39c6ba7..f31e599dc7eeb6f017a4d3c567e4346eb3d4acfa 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) diff --git a/src/main.cpp b/src/main.cpp index 94382ec6085eaaa8575e7161cc9862e3f9b9b5ec..e2ea192953d0e88b650bc0d4f586375841a71881 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -2063,6 +2063,8 @@ int main(int argc, char *argv[]) */ device->drop(); + delete font; + #endif // !SERVER // Update configuration file