tests: initialize allocated value to 0

This commit is contained in:
Christian Hergert
2020-02-24 15:27:58 -08:00
parent f1322de9e6
commit d34e277a6a

View File

@ -113,6 +113,7 @@ allocs_within_mark (SysprofCaptureReader *reader,
iv = &g_array_index (intervals, Interval, intervals->len - 1);
iv->begin = ev->frame.time;
iv->end = ev->frame.time + ev->duration;
iv->allocated = 0;
}
else if (!sysprof_capture_reader_skip (reader))
break;