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;
}