diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2014-05-19 09:52:43 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2014-05-19 09:52:43 +0000 |
commit | 111727904fa40cf7783bdf52b238bc12c2f80926 (patch) | |
tree | 4f18725bccc6eff3539798d6f543eefa16c248e9 /winsup/cygserver | |
parent | ca6183c3445019c385243f4c58b6d1b0bd7ce62f (diff) | |
download | newlib-111727904fa40cf7783bdf52b238bc12c2f80926.zip newlib-111727904fa40cf7783bdf52b238bc12c2f80926.tar.gz newlib-111727904fa40cf7783bdf52b238bc12c2f80926.tar.bz2 |
* bsd_mutex.cc (msleep_sync_array::~msleep_sync_array): New destructor
to make Coverity happy (CID 59838).
Diffstat (limited to 'winsup/cygserver')
-rw-r--r-- | winsup/cygserver/ChangeLog | 5 | ||||
-rw-r--r-- | winsup/cygserver/bsd_mutex.cc | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/winsup/cygserver/ChangeLog b/winsup/cygserver/ChangeLog index bd37073..0f081ac 100644 --- a/winsup/cygserver/ChangeLog +++ b/winsup/cygserver/ChangeLog @@ -1,5 +1,10 @@ 2014-05-19 Corinna Vinschen <corinna@vinschen.de> + * bsd_mutex.cc (msleep_sync_array::~msleep_sync_array): New destructor + to make Coverity happy (CID 59838). + +2014-05-19 Corinna Vinschen <corinna@vinschen.de> + * bsd_helper.cc (ipcexit_creat_hookthread): Delete shs to make Coverity happy (CID 59993). * transport_pipes.cc (transport_layer_pipes::listen): Make listen_pipe diff --git a/winsup/cygserver/bsd_mutex.cc b/winsup/cygserver/bsd_mutex.cc index 02896bb..66c4b23 100644 --- a/winsup/cygserver/bsd_mutex.cc +++ b/winsup/cygserver/bsd_mutex.cc @@ -227,6 +227,8 @@ public: panic ("Allocating msleep records failed: %d", errno); } + ~msleep_sync_array () { delete a; } + HANDLE enter (void *ident) { HANDLE evt = NULL; |