From cdf45080589a55098760321fa65319594a0f65da Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 11 Mar 2006 23:52:09 +0000 Subject: r14224: Fix Coverity bug # 6 (This used to be commit e1c617adae51a4645804421394aba05de9dc1e3f) --- source3/libmsrpc/libmsrpc.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'source3/libmsrpc') 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); -- cgit