From: andreaskoepke Date: Fri, 21 Sep 2007 15:43:22 +0000 (+0000) Subject: close file descriptors again X-Git-Tag: release_tinyos_2_1_0_0~719 X-Git-Url: https://oss.titaniummirror.com/gitweb/?p=tinyos-2.x.git;a=commitdiff_plain;h=b5bd3d23e8b4f8ec6880be019719bc725f5f395e close file descriptors again --- diff --git a/support/sdk/cpp/sf/tcpcomm.cpp b/support/sdk/cpp/sf/tcpcomm.cpp index 762487f6..85b221a9 100644 --- a/support/sdk/cpp/sf/tcpcomm.cpp +++ b/support/sdk/cpp/sf/tcpcomm.cpp @@ -144,6 +144,8 @@ TCPComm::~TCPComm() { close(*it); } + close(pipeWriteFD); + close(pipeReadFD); pthread_mutex_destroy(&clientInfo.sleeplock); pthread_mutex_destroy(&clientInfo.countlock); pthread_cond_destroy(&clientInfo.wakeup);