mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Fix memory leaks: delete font in main and GUIChatConsole
This commit is contained in:
parent
782d06be46
commit
e5781b5e34
2 changed files with 3 additions and 0 deletions
|
@ -2063,6 +2063,8 @@ int main(int argc, char *argv[])
|
|||
*/
|
||||
device->drop();
|
||||
|
||||
delete font;
|
||||
|
||||
#endif // !SERVER
|
||||
|
||||
// Update configuration file
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue