Log warning cleanup and truth (#3466)
This commit is contained in:
1 parent
7aa013a716
commit
794e99c2f9
8 files changed
+10
-10
No files matched your search
@@ -58,7 +58,7 @@ void *operator new(size_t sz) throw(std::bad_alloc)
|
||||
void operator delete(void *ptr) throw()
|
||||
{
|
||||
if (activeAllocator)
|
||||
LOG_DEBUG("Warning: leaking an active allocator object\n"); // We don't properly handle this yet
|
||||
LOG_WARN("Leaking an active allocator object\n"); // We don't properly handle this yet
|
||||
else
|
||||
free(ptr);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user