diff options
author | PilzAdam <pilzadam@minetest.net> | 2013-05-10 21:54:50 +0200 |
---|---|---|
committer | PilzAdam <pilzadam@minetest.net> | 2013-05-10 22:35:17 +0200 |
commit | e5781b5e34a7f867c8dc7ebc1cbb6e81efaa9b86 (patch) | |
tree | 512e81dfff7061e797a11594988b0a38106ec7be /src/guiChatConsole.cpp | |
parent | 782d06be460e81c9fe4760c78003ac6522676e82 (diff) | |
download | minetest-e5781b5e34a7f867c8dc7ebc1cbb6e81efaa9b86.tar.gz minetest-e5781b5e34a7f867c8dc7ebc1cbb6e81efaa9b86.tar.bz2 minetest-e5781b5e34a7f867c8dc7ebc1cbb6e81efaa9b86.zip |
Fix memory leaks: delete font in main and GUIChatConsole
Diffstat (limited to 'src/guiChatConsole.cpp')
-rw-r--r-- | src/guiChatConsole.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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) |