alloc-util: introduce mfree_func_type_t

This commit is contained in:
Yu Watanabe
2022-03-11 10:24:08 +09:00
parent 0d3c36641d
commit 5b25bdd1a3
+1
View File
@@ -13,6 +13,7 @@
#endif
typedef void (*free_func_t)(void *p);
typedef void* (*mfree_func_t)(void *p);
/* If for some reason more than 4M are allocated on the stack, let's abort immediately. It's better than
* proceeding and smashing the stack limits. Note that by default RLIMIT_STACK is 8M on Linux. */