Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 96369840 authored by Glenn Kasten's avatar Glenn Kasten
Browse files

Fix memory corruption if increaseSamplingN is not called

Change-Id: Icbf9aaf68c25ba3330ceb79167bd776cf0342d0d
parent 5e4c4f12
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -35,7 +35,7 @@ FastThreadDumpState::FastThreadDumpState() :
    /* mMeasuredWarmupTs({0, 0}), */
    mWarmupCycles(0)
#ifdef FAST_MIXER_STATISTICS
    , mSamplingN(0), mBounds(0)
    , mSamplingN(1), mBounds(0)
#endif
{
    mMeasuredWarmupTs.tv_sec = 0;