mirror of
https://github.com/samba-team/samba.git
synced 2025-10-24 15:33:20 +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:
@@ -135,8 +135,6 @@ int close_internal_rpc_pipe_hnd(struct pipes_struct *p)
|
||||
|
||||
DLIST_REMOVE(InternalPipes, p);
|
||||
|
||||
ZERO_STRUCTP(p);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user