Skip to content
Snippets Groups Projects
Commit e5781b5e authored by PilzAdam's avatar PilzAdam
Browse files

Fix memory leaks: delete font in main and GUIChatConsole

parent 782d06be
No related branches found
No related tags found
No related merge requests found
......@@ -121,6 +121,7 @@ GUIChatConsole::GUIChatConsole(
GUIChatConsole::~GUIChatConsole()
{
delete m_font;
}
void GUIChatConsole::openConsole(f32 height)
......
......@@ -2063,6 +2063,8 @@ int main(int argc, char *argv[])
*/
device->drop();
delete font;
#endif // !SERVER
// Update configuration file
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment