From: Philippe Proulx Date: Wed, 24 May 2017 23:09:58 +0000 (-0400) Subject: bt_ctf_trace_destroy(): logging: difference between destroying and putting X-Git-Tag: v2.0.0-pre1~192 X-Git-Url: http://git.efficios.com/?a=commitdiff_plain;h=607ff9b8b83eefd2ffbb18d640d9b592d057f8af;p=babeltrace.git bt_ctf_trace_destroy(): logging: difference between destroying and putting 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 --- diff --git a/lib/ctf-ir/trace.c b/lib/ctf-ir/trace.c index 9ecbb6ea..890e12c4 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); }