mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2025-07-15 20:25:00 +03:00
Mayaqua: add new FreeSafe() function which calls Free() and set the pointer's value to NULL
This commit is contained in:
@ -276,6 +276,7 @@ void *ZeroMalloc(UINT size);
|
||||
void *ZeroMallocEx(UINT size, bool zero_clear_when_free);
|
||||
void *ReAlloc(void *addr, UINT size);
|
||||
void Free(void *addr);
|
||||
void FreeSafe(void **addr);
|
||||
void CheckMemTag(MEMTAG *tag);
|
||||
UINT GetMemSize(void *addr);
|
||||
|
||||
|
Reference in New Issue
Block a user