diff options
author | Jan Huwald <jh@sotun.de> | 2013-06-25 09:03:20 (GMT) |
---|---|---|
committer | Jan Huwald <jh@sotun.de> | 2013-06-25 09:03:20 (GMT) |
commit | 13dcafc1853d206f41498933072f16ea37b58189 (patch) | |
tree | 89d3cb420152b267fecd3100a552efdae062bcbd | |
parent | b17c7882e6dd83f728f11e11611f1f925556ba09 (diff) |
.
-rw-r--r-- | cacount.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cacount.cpp b/cacount.cpp index 7b59563..ef5b6e6 100644 --- a/cacount.cpp +++ b/cacount.cpp @@ -65,6 +65,7 @@ bool iterStateP(function<void(State, bool&)> f, optional<string> msg = optional< bool worked = skipWorkTest; for (int t=0; t<numThreads; t++) worked |= perThreadWorked[t]; + delete perThreadWorked; return worked; } @@ -119,8 +120,7 @@ State canonize(State s) { void cycleStat(Trans &t, Trans &c, pbitset &reachable) { struct Stat { - State basin, len, eden; - StateIter totalBasin; + StateIter basin, len, eden, totalBasin; explicit Stat() : basin(0), len(0), eden(0), totalBasin(0) {} }; unordered_map<State, Stat> cycStat; |