[Libreoffice-commits] core.git: vcl/workben

Norbert Thiebaud nthiebaud at gmail.com
Sun Jun 1 00:20:38 PDT 2014


 vcl/workben/svpclient.cxx |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit fd4a3d766aeb5e5e6986f77993546694847fcda5
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date:   Sun Jun 1 02:20:06 2014 -0500

    coverity#1219806 double close
    
    Change-Id: I0719451a3f2f8f8bf5e2d417252412f1e68b456e

diff --git a/vcl/workben/svpclient.cxx b/vcl/workben/svpclient.cxx
index e026c4c..050b0db 100644
--- a/vcl/workben/svpclient.cxx
+++ b/vcl/workben/svpclient.cxx
@@ -187,7 +187,6 @@ OString MyWin::processCommand( const OString& rCommand )
         if( connect( nSocket, (const sockaddr*)&addr, sizeof(addr) ) )
         {
             perror( "SvpElementContainer: connect() failed" );
-            close(nSocket);
         }
         else
         {


More information about the Libreoffice-commits mailing list