summaryrefslogtreecommitdiff
path: root/source3/libmsrpc/libmsrpc.c
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-03-11 23:52:09 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:15:18 -0500
commitcdf45080589a55098760321fa65319594a0f65da (patch)
tree130906ad7650ab40ca2b99688402fc94aece31ba /source3/libmsrpc/libmsrpc.c
parentc00e664e25e100102f6404671884e8fb0bd33f63 (diff)
downloadsamba-cdf45080589a55098760321fa65319594a0f65da.tar.gz
samba-cdf45080589a55098760321fa65319594a0f65da.tar.bz2
samba-cdf45080589a55098760321fa65319594a0f65da.zip
r14224: Fix Coverity bug # 6
(This used to be commit e1c617adae51a4645804421394aba05de9dc1e3f)
Diffstat (limited to 'source3/libmsrpc/libmsrpc.c')
-rw-r--r--source3/libmsrpc/libmsrpc.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/source3/libmsrpc/libmsrpc.c b/source3/libmsrpc/libmsrpc.c
index 036798b83d..5f71af21da 100644
--- a/source3/libmsrpc/libmsrpc.c
+++ b/source3/libmsrpc/libmsrpc.c
@@ -212,18 +212,9 @@ int cac_Connect(CacServerHandle *hnd, const char *srv) {
void cac_FreeHandle(CacServerHandle * hnd) {
- SMBCSRV *srv = NULL;
-
if(!hnd)
return;
-
- if(srv) {
- /*close all pipe sessions*/
- cli_nt_pipes_close(&(srv->cli));
- }
-
-
/*only free the context if we created it*/
if(!hnd->_internal.user_supplied_ctx) {
smbc_free_context(hnd->_internal.ctx, True);