Add cfree to overrides. (#179)
This commit is contained in:
committed by
GitHub
parent
a43773c5b7
commit
0180ee9a4d
@@ -35,6 +35,11 @@ extern "C"
|
||||
ThreadAlloc::get_noncachable()->dealloc(ptr);
|
||||
}
|
||||
|
||||
SNMALLOC_EXPORT void SNMALLOC_NAME_MANGLE(cfree)(void* ptr)
|
||||
{
|
||||
SNMALLOC_NAME_MANGLE(free)(ptr);
|
||||
}
|
||||
|
||||
SNMALLOC_EXPORT void* SNMALLOC_NAME_MANGLE(calloc)(size_t nmemb, size_t size)
|
||||
{
|
||||
bool overflow = false;
|
||||
|
||||
Reference in New Issue
Block a user