From 262af4713e192ba80327c1e6607ba8f92d3cc7ea Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Wed, 27 Jul 2011 16:27:17 -0400 Subject: s3-rpc_server: remove unnecessary talloc_free The auth_ctx is a child of pipes_struct, and this function is a used only as a destructor on pipes_struct. So it is not really necessary to free this struct in the destructor as it will be freed soon enough anyway. --- source3/rpc_server/rpc_handles.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'source3') diff --git a/source3/rpc_server/rpc_handles.c b/source3/rpc_server/rpc_handles.c index f9251eeb94..2b35328e62 100644 --- a/source3/rpc_server/rpc_handles.c +++ b/source3/rpc_server/rpc_handles.c @@ -128,8 +128,6 @@ int close_internal_rpc_pipe_hnd(struct pipes_struct *p) return False; } - TALLOC_FREE(p->auth.auth_ctx); - /* Free the handles database. */ close_policy_by_pipe(p); -- cgit