From 3b565cdcacfd6cb8d969d11ca041508af1b593b6 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Fri, 7 Sep 2012 09:16:19 -0400 Subject: [PATCH 1/1] Revert "Fix babeltrace-log uninitialized memory" This reverts commit 36741bea2b53007c29ac0391ee9086722e00653a. Signed-off-by: Mathieu Desnoyers --- formats/ctf/ctf.c | 1 - 1 file changed, 1 deletion(-) diff --git a/formats/ctf/ctf.c b/formats/ctf/ctf.c index d4ff2a52..f43fe917 100644 --- a/formats/ctf/ctf.c +++ b/formats/ctf/ctf.c @@ -550,7 +550,6 @@ error: void ctf_init_pos(struct ctf_stream_pos *pos, int fd, int open_flags) { - memset(pos, 0, sizeof(*pos)); pos->fd = fd; if (fd >= 0) { pos->packet_cycles_index = g_array_new(FALSE, TRUE, -- 2.34.1