mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-10-28 03:33:42 +00:00
Fix the ss_free macros
This commit is contained in:
-18
@@ -263,24 +263,6 @@ ss_aligned_malloc(size_t size)
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
ss_aligned_free(void *ptr)
|
||||
{
|
||||
#ifdef __MINGW32__
|
||||
_aligned_free(ptr);
|
||||
#else
|
||||
free(ptr);
|
||||
#endif
|
||||
ptr = NULL;
|
||||
}
|
||||
|
||||
void
|
||||
ss_free(void *ptr)
|
||||
{
|
||||
free(ptr);
|
||||
ptr = NULL;
|
||||
}
|
||||
|
||||
void *
|
||||
ss_realloc(void *ptr, size_t new_size)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user