summaryrefslogtreecommitdiff
path: root/sal/osl
diff options
context:
space:
mode:
authorStephan Schäfer <ssa@openoffice.org>2001-07-19 09:11:43 +0000
committerStephan Schäfer <ssa@openoffice.org>2001-07-19 09:11:43 +0000
commitf99c9f4677e27ba4a9a0592a749b11df7a70903f (patch)
tree229edae2b48a8c6dac40b34f26e2a8ae6aa87974 /sal/osl
parent8b354174466b16525e0c3a9a34447673db90b95d (diff)
#89936# fixed refcounting bug for win98
Diffstat (limited to 'sal/osl')
-rw-r--r--sal/osl/w32/pipe.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sal/osl/w32/pipe.c b/sal/osl/w32/pipe.c
index 7cb22b2d12fa..9f90c091e7a4 100644
--- a/sal/osl/w32/pipe.c
+++ b/sal/osl/w32/pipe.c
@@ -2,9 +2,9 @@
*
* $RCSfile: pipe.c,v $
*
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
- * last change: $Author: tra $ $Date: 2001-07-09 09:18:53 $
+ * last change: $Author: ssa $ $Date: 2001-07-19 10:11:43 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -376,7 +376,9 @@ static sal_Int32 processMessage(oslPipe pPipe, HWND Sender, COPYDATASTRUCT *pDat
oslPipe pAccept;
pAccept = __osl_createPipeImpl();
+ OSL_ASSERT(pAccept);
+ osl_incrementInterlockedCount(&(pAccept->m_Reference));
rtl_string_assign(&( pAccept->m_NameA ) , pPipe->m_NameA );
pAccept->m_DstWnd = Sender;