Fix for zero size allocations.
This commit is contained in:
@@ -28,9 +28,6 @@ extern "C"
|
||||
|
||||
SNMALLOC_EXPORT void SNMALLOC_NAME_MANGLE(free)(void* ptr)
|
||||
{
|
||||
if (ptr == nullptr)
|
||||
return;
|
||||
|
||||
ThreadAlloc::get()->dealloc(ptr);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user