diff options
author | Alan Conway <aconway@apache.org> | 2010-10-20 14:02:12 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2010-10-20 14:02:12 +0000 |
commit | 9cec65bfe71c9a6a1ddb4822bd9e782c20c9f96d (patch) | |
tree | e7d8502ad7b546672ccc8fd9ebb83eb1a3f9319b /cpp/src | |
parent | bcb149706cdace4a333a811969e473451d9ab331 (diff) | |
download | qpid-python-9cec65bfe71c9a6a1ddb4822bd9e782c20c9f96d.tar.gz |
Add matching fclose for fdopen in ForkedBroker.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1025587 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src')
-rw-r--r-- | cpp/src/tests/ForkedBroker.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/tests/ForkedBroker.cpp b/cpp/src/tests/ForkedBroker.cpp index 9ff301e29d..53eaa7e1ce 100644 --- a/cpp/src/tests/ForkedBroker.cpp +++ b/cpp/src/tests/ForkedBroker.cpp @@ -129,7 +129,7 @@ void ForkedBroker::init(const Args& userArgs) { if (ferror(f)) throw ErrnoException("Error reading port number from child."); else throw qpid::Exception("EOF reading port number from child."); } - ::close(pipeFds[0]); + ::fclose(f); running = true; } else { // child |