From 5b25bdd1a3a46941b3047b8efd70c6ca479f5bab Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Fri, 18 Feb 2022 15:24:23 +0900 Subject: [PATCH] alloc-util: introduce mfree_func_type_t --- src/basic/alloc-util.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/basic/alloc-util.h b/src/basic/alloc-util.h index 65d5175619..57f1b186ee 100644 --- a/src/basic/alloc-util.h +++ b/src/basic/alloc-util.h @@ -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. */