diff --git a/src/util-mem.h b/src/util-mem.h index 62f5899..c77351a 100644 --- a/src/util-mem.h +++ b/src/util-mem.h @@ -41,7 +41,7 @@ static inline void _free_ptr_(void *p) { free(*(void**)p); } /** * Use: - * DEFINE_TRIVIAL_CLEANUP_FUNC(struct foo, foo_unref) + * DEFINE_TRIVIAL_CLEANUP_FUNC(struct foo *, foo_unref) * _cleanup_(foo_unrefp) struct foo *bar; */ #define DEFINE_TRIVIAL_CLEANUP_FUNC(_type, _func) \