From 2cbb04c0187b488719252f570d711804175c4117 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Mon, 14 Nov 2016 16:51:05 -0500 Subject: [PATCH] remove double bt_put MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérémie Galarneau --- plugins/text/print.c | 1 - 1 file changed, 1 deletion(-) diff --git a/plugins/text/print.c b/plugins/text/print.c index 41e2dd2a..472c29c8 100644 --- a/plugins/text/print.c +++ b/plugins/text/print.c @@ -149,7 +149,6 @@ enum bt_component_status print_event_header(struct text_component *text, fputs("name = ", text->out); } fputs(bt_ctf_event_class_get_name(event_class), text->out); - bt_put(event_class); end: bt_put(event_class); return ret; -- 2.34.1