svn commit: samba r14224 - branches/SAMBA_3_0/source/libmsrpc
trunk/source/libmsrpc
vlendec at samba.org
vlendec at samba.org
Sat Mar 11 23:52:10 GMT 2006
Author: vlendec
Date: 2006-03-11 23:52:09 +0000 (Sat, 11 Mar 2006)
New Revision: 14224
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=14224
Log:
Fix Coverity bug # 6
Modified:
branches/SAMBA_3_0/source/libmsrpc/libmsrpc.c
trunk/source/libmsrpc/libmsrpc.c
Changeset:
Modified: branches/SAMBA_3_0/source/libmsrpc/libmsrpc.c
===================================================================
--- branches/SAMBA_3_0/source/libmsrpc/libmsrpc.c 2006-03-11 23:20:37 UTC (rev 14223)
+++ branches/SAMBA_3_0/source/libmsrpc/libmsrpc.c 2006-03-11 23:52:09 UTC (rev 14224)
@@ -212,18 +212,9 @@
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);
Modified: trunk/source/libmsrpc/libmsrpc.c
===================================================================
--- trunk/source/libmsrpc/libmsrpc.c 2006-03-11 23:20:37 UTC (rev 14223)
+++ trunk/source/libmsrpc/libmsrpc.c 2006-03-11 23:52:09 UTC (rev 14224)
@@ -212,18 +212,9 @@
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);
More information about the samba-cvs
mailing list