Fix small memory leak in OS.cpp
This commit is contained in:
parent
eaaff9da31
commit
d408c254a2
1 changed files with 2 additions and 0 deletions
|
@ -760,6 +760,8 @@ OS::OS() {
|
|||
}
|
||||
|
||||
OS::~OS() {
|
||||
if (last_error)
|
||||
memfree(last_error);
|
||||
memdelete(_logger);
|
||||
singleton = NULL;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue