1
0
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:
Simo Sorce
2011-07-27 16:30:42 -04:00
parent 262af4713e
commit 48a71664f2

View File

@@ -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;
}