diff options
Diffstat (limited to 'server')
-rw-r--r-- | server/util/util.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/server/util/util.h b/server/util/util.h index d328f3ae..61f63fef 100644 --- a/server/util/util.h +++ b/server/util/util.h @@ -48,6 +48,10 @@ void debug_fn(const char *format, ...); #define FLAGS_INTERACTIVE 0x0002 #define FLAGS_PID_FILE 0x0004 +#ifndef talloc_zfree +#define talloc_zfree(ptr) do { talloc_free(ptr); ptr = NULL; } while(0) +#endif + struct main_context { struct tevent_context *event_ctx; struct confdb_ctx *confdb_ctx; |