projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d14ace
)
[ROSAUTOTEST]
author
Thomas Faber
<thomas.faber@reactos.org>
Sat, 28 Feb 2015 06:56:56 +0000
(06:56 +0000)
committer
Thomas Faber
<thomas.faber@reactos.org>
Sat, 28 Feb 2015 06:56:56 +0000
(06:56 +0000)
- Avoid double-close of pipe handles
svn path=/trunk/; revision=66482
rostests/rosautotest/CPipe.cpp
patch
|
blob
|
history
diff --git
a/rostests/rosautotest/CPipe.cpp
b/rostests/rosautotest/CPipe.cpp
index
8d87723
..
7dea2b4
100644
(file)
--- a/
rostests/rosautotest/CPipe.cpp
+++ b/
rostests/rosautotest/CPipe.cpp
@@
-42,6
+42,7
@@
CPipe::CloseReadPipe()
if (!m_hReadPipe)
FATAL("Trying to close already closed read pipe");
CloseHandle(m_hReadPipe);
+ m_hReadPipe = NULL;
}
/**
@@
-53,6
+54,7
@@
CPipe::CloseWritePipe()
if (!m_hWritePipe)
FATAL("Trying to close already closed write pipe");
CloseHandle(m_hWritePipe);
+ m_hWritePipe = NULL;
}
/**