From 11c415db488265450163b414316cc3b9def17238 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Tue, 28 Oct 2008 09:15:33 -0400 Subject: Initial memory cleanup work --- server/util/util.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'server/util/util.h') diff --git a/server/util/util.h b/server/util/util.h index 05113d1fb..1613c9efe 100644 --- a/server/util/util.h +++ b/server/util/util.h @@ -4,6 +4,7 @@ #include #include #include "replace.h" +#include "talloc.h" extern int debug_level; void debug_fn(const char *format, ...); @@ -42,4 +43,7 @@ void (*CatchSignal(int signum,void (*handler)(int )))(int); void CatchChild(void); void CatchChildLeaveStatus(void); +/* from memory.c */ +//TALLOC_CTX *talloc_takeover(TALLOC_CTX *mem_ctx, void *ptr, int (*destructor)(void *), const char *type); +TALLOC_CTX *talloc_takeover(TALLOC_CTX *mem_ctx, void *ptr, int (*destructor)(void **)); #endif /* __SSSD_UTIL_H__ */ -- cgit