diff options
author | Simo Sorce <idra@samba.org> | 2011-07-27 16:27:17 -0400 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2011-07-28 10:27:52 -0400 |
commit | 262af4713e192ba80327c1e6607ba8f92d3cc7ea (patch) | |
tree | 7f696b42de87b1b145c360d2b056f0027f41e83c /source3/rpc_server | |
parent | 0a72744dd247298fe6aff160d77ae50dc97b8c4f (diff) | |
download | samba-262af4713e192ba80327c1e6607ba8f92d3cc7ea.tar.gz samba-262af4713e192ba80327c1e6607ba8f92d3cc7ea.tar.bz2 samba-262af4713e192ba80327c1e6607ba8f92d3cc7ea.zip |
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.
Diffstat (limited to 'source3/rpc_server')
-rw-r--r-- | source3/rpc_server/rpc_handles.c | 2 |
1 files changed, 0 insertions, 2 deletions
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); |