summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2011-07-27 16:30:42 -0400
committerSimo Sorce <idra@samba.org>2011-07-28 10:27:58 -0400
commit48a71664f21f50616749b467e6f082b6c20036a1 (patch)
tree2c9d388ab766ebecea2daed0bbfeaa3c743896b7 /source3
parent262af4713e192ba80327c1e6607ba8f92d3cc7ea (diff)
downloadsamba-48a71664f21f50616749b467e6f082b6c20036a1.tar.gz
samba-48a71664f21f50616749b467e6f082b6c20036a1.tar.bz2
samba-48a71664f21f50616749b467e6f082b6c20036a1.zip
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.
Diffstat (limited to 'source3')
-rw-r--r--source3/rpc_server/rpc_handles.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/source3/rpc_server/rpc_handles.c b/source3/rpc_server/rpc_handles.c
index 2b35328e62..19e7655221 100644
--- a/source3/rpc_server/rpc_handles.c
+++ b/source3/rpc_server/rpc_handles.c
@@ -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;
}