1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-03 19:11:41 +00:00

Fix small memory leak in OS.cpp

This commit is contained in:
qarmin
2019-06-27 21:35:27 +02:00
parent eaaff9da31
commit d408c254a2

View File

@@ -760,6 +760,8 @@ OS::OS() {
}
OS::~OS() {
if (last_error)
memfree(last_error);
memdelete(_logger);
singleton = NULL;
}