diff options
author | fireice-uk <fireice-uk@users.noreply.github.com> | 2017-04-10 17:23:02 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-10 17:23:02 +0100 |
commit | a01ce971c81253de59f2b7cc0c6f1a5dcdd395b8 (patch) | |
tree | cda39f80fe5ba133dcba7718df2b7a5bb6d016bb /executor.cpp | |
parent | 00568d05e383ad14fee881539f171e00b10adf46 (diff) | |
parent | eba4b7b5c91a2351e09b19331bda74e8814d34b4 (diff) | |
download | xmr-stak-a01ce971c81253de59f2b7cc0c6f1a5dcdd395b8.zip xmr-stak-a01ce971c81253de59f2b7cc0c6f1a5dcdd395b8.tar.gz |
Merge pull request #66 from esfomeado/master
Fix fp leak and use pre-increment
Diffstat (limited to 'executor.cpp')
-rw-r--r-- | executor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/executor.cpp b/executor.cpp index af10811..8f5a2a9 100644 --- a/executor.cpp +++ b/executor.cpp @@ -83,7 +83,7 @@ void executor::ex_clock_thd() ev = lTimedEvents.erase(ev); } else - ev++; + ++ev; } lck.unlock(); |