mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
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.
This commit is contained in:
parent
0a72744dd2
commit
262af4713e
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user