[Libreoffice-commits] core.git: sal/osl
Chris Sherlock
chris.sherlock79 at gmail.com
Sun Jul 9 18:34:18 UTC 2017
sal/osl/w32/pipe.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 48d354f2615e828d7acb62d5496e467d3ade1c9d
Author: Chris Sherlock <chris.sherlock79 at gmail.com>
Date: Mon Jul 10 04:33:34 2017 +1000
osl: followup - m_NamedObject never INVALID_HANDLE_VALUE
Change-Id: Ia4517b01a39c02619ccae73e4c182ac8d7e6e22c
diff --git a/sal/osl/w32/pipe.cxx b/sal/osl/w32/pipe.cxx
index b399f5f75f95..c18e4435bf1e 100644
--- a/sal/osl/w32/pipe.cxx
+++ b/sal/osl/w32/pipe.cxx
@@ -80,7 +80,7 @@ void osl_destroyPipeImpl(oslPipe pPipe)
{
if (pPipe)
{
- if (pPipe->m_NamedObject != INVALID_HANDLE_VALUE && pPipe->m_NamedObject)
+ if (pPipe->m_NamedObject)
CloseHandle(pPipe->m_NamedObject);
if (pPipe->m_Security)
More information about the Libreoffice-commits
mailing list