mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-23 11:10:52 +00:00
Log warning cleanup and truth (#3466)
This commit is contained in:
@@ -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