mirror of
https://github.com/godotengine/godot.git
synced 2024-11-12 23:24:26 +00:00
Merge pull request #30135 from qarmin/fix_memory_leak_os
Fix small memory leak in OS.cpp
This commit is contained in:
commit
3942c939e3
@ -760,6 +760,8 @@ OS::OS() {
|
||||
}
|
||||
|
||||
OS::~OS() {
|
||||
if (last_error)
|
||||
memfree(last_error);
|
||||
memdelete(_logger);
|
||||
singleton = NULL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user