mirror of
https://github.com/samba-team/samba.git
synced 2025-10-18 19:33:16 +03:00
s3-rpc_server: remove useless code
We do not reuse pies_struct so there is no reason to SERO_STRUCT() it when we are freeing it as we are done using it anyways.
This commit is contained in:
@@ -131,12 +131,10 @@ int close_internal_rpc_pipe_hnd(struct pipes_struct *p)
|
||||
/* Free the handles database. */
|
||||
close_policy_by_pipe(p);
|
||||
|
||||
free_pipe_rpc_context_internal( p->contexts );
|
||||
free_pipe_rpc_context_internal(p->contexts);
|
||||
|
||||
DLIST_REMOVE(InternalPipes, p);
|
||||
|
||||
ZERO_STRUCTP(p);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user