summaryrefslogtreecommitdiff
path: root/vos
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2007-08-02 13:22:09 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2007-08-02 13:22:09 +0000
commitcbfb27d912d45eb159e4f3ab490f15c962d1eef9 (patch)
tree50c5e3b5514ed120943a43a3c11cbad7ba8591e8 /vos
parentff9afebc1d6c34be2b9f17448b0314a39d75d616 (diff)
INTEGRATION: CWS hropatches (1.16.24); FILE MERGED
2007/07/11 12:47:29 hro 1.16.24.1: #i79056# Close osl socket member only once
Diffstat (limited to 'vos')
-rw-r--r--vos/source/socket.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/vos/source/socket.cxx b/vos/source/socket.cxx
index 53a0e0e097bb..cc2e902e92a0 100644
--- a/vos/source/socket.cxx
+++ b/vos/source/socket.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: socket.cxx,v $
*
- * $Revision: 1.16 $
+ * $Revision: 1.17 $
*
- * last change: $Author: hr $ $Date: 2006-06-20 04:07:44 $
+ * last change: $Author: hr $ $Date: 2007-08-02 14:22:09 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -1214,6 +1214,7 @@ OAcceptorSocket::~OAcceptorSocket()
osl_closeSocket((*m_pSockRef)());
osl_releaseSocket((*m_pSockRef)());
delete m_pSockRef;
+ m_pSockRef = 0;
}
}