From 607ff9b8b83eefd2ffbb18d640d9b592d057f8af Mon Sep 17 00:00:00 2001 From: Philippe Proulx Date: Wed, 24 May 2017 19:09:58 -0400 Subject: [PATCH] bt_ctf_trace_destroy(): logging: difference between destroying and putting MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit In some cases we know for sure that we're destroying the objects, not just putting them. Signed-off-by: Philippe Proulx Signed-off-by: Jérémie Galarneau --- lib/ctf-ir/trace.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ctf-ir/trace.c b/lib/ctf-ir/trace.c index 9ecbb6ea7..890e12c4d 100644 --- a/lib/ctf-ir/trace.c +++ b/lib/ctf-ir/trace.c @@ -284,12 +284,12 @@ void bt_ctf_trace_destroy(struct bt_object *obj) } if (trace->streams) { - BT_LOGD_STR("Putting streams."); + BT_LOGD_STR("Destroying streams."); g_ptr_array_free(trace->streams, TRUE); } if (trace->stream_classes) { - BT_LOGD_STR("Putting stream classes."); + BT_LOGD_STR("Destroying stream classes."); g_ptr_array_free(trace->stream_classes, TRUE); } -- 2.34.1