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/bsd_mutex.cc | |
parent | ca6183c3445019c385243f4c58b6d1b0bd7ce62f (diff) | |
download | cygnal-111727904fa40cf7783bdf52b238bc12c2f80926.tar.gz cygnal-111727904fa40cf7783bdf52b238bc12c2f80926.tar.bz2 cygnal-111727904fa40cf7783bdf52b238bc12c2f80926.zip |
* bsd_mutex.cc (msleep_sync_array::~msleep_sync_array): New destructor
to make Coverity happy (CID 59838).
Diffstat (limited to 'winsup/cygserver/bsd_mutex.cc')
-rw-r--r-- | winsup/cygserver/bsd_mutex.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/winsup/cygserver/bsd_mutex.cc b/winsup/cygserver/bsd_mutex.cc index 02896bb6d..66c4b2398 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; |