From d34e277a6a7f1231e34610ca2d7797513ede5ac9 Mon Sep 17 00:00:00 2001 From: Christian Hergert Date: Mon, 24 Feb 2020 15:27:58 -0800 Subject: [PATCH] tests: initialize allocated value to 0 --- src/tests/allocs-within-mark.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tests/allocs-within-mark.c b/src/tests/allocs-within-mark.c index 240687a6..10d12287 100644 --- a/src/tests/allocs-within-mark.c +++ b/src/tests/allocs-within-mark.c @@ -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;