Fix: src.text.dmesg: put leaking trace class on component destruction
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Fri, 15 Feb 2019 20:14:32 +0000 (15:14 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 3 May 2019 22:19:38 +0000 (18:19 -0400)
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
plugins/text/dmesg/dmesg.c

index 697d1965506a379599ac5a19f72616f19c1f7f5c..65d7dfed69f16a1156cca8e5adb8ab5465cad413 100644 (file)
@@ -360,6 +360,7 @@ void destroy_dmesg_component(struct dmesg_component *dmesg_comp)
        bt_event_class_put_ref(dmesg_comp->event_class);
        bt_stream_put_ref(dmesg_comp->stream);
        bt_clock_class_put_ref(dmesg_comp->clock_class);
+       bt_trace_class_put_ref(dmesg_comp->trace_class);
        g_free(dmesg_comp);
 }
 
This page took 0.02463 seconds and 4 git commands to generate.