From 80ae1c2a2aeace891d24390f2f639a3c3d18739a Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 4 Jul 2007 03:25:44 +0000 Subject: r23695: By not using the NULL context for these large structures, we don't falsely report them as leaked. Andrew Bartlett (This used to be commit e3eb6c2cf63edf50d93a87f656df3ae5aa6efc00) --- source4/smbd/server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/smbd') diff --git a/source4/smbd/server.c b/source4/smbd/server.c index d44ecff865..9e19453aa6 100644 --- a/source4/smbd/server.c +++ b/source4/smbd/server.c @@ -285,7 +285,7 @@ static int binary_smbd_main(const char *binary_name, int argc, const char *argv[ /* the event context is the top level structure in smbd. Everything else should hang off that */ - event_ctx = event_context_init(NULL); + event_ctx = event_context_init(talloc_autofree_context()); /* initialise clustering if needed */ cluster_ctdb_init(event_ctx, model); -- cgit