git.samba.org
/
jra
/
samba
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c00e664
)
r14224: Fix Coverity bug # 6
author
Volker Lendecke
<vlendec@samba.org>
Sat, 11 Mar 2006 23:52:09 +0000
(23:52 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 16:15:18 +0000
(11:15 -0500)
(This used to be commit
e1c617adae51a4645804421394aba05de9dc1e3f
)
source3/libmsrpc/libmsrpc.c
patch
|
blob
|
history
diff --git
a/source3/libmsrpc/libmsrpc.c
b/source3/libmsrpc/libmsrpc.c
index 036798b83dd9862747cda6fa7f5113a1ab3d4b89..5f71af21da20859bc0114425fe7cd5f8f5d1f003 100644
(file)
--- 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);