lib: update and simplify the `bt_object` API
[babeltrace.git] / lib / graph / notification / notification.c
index 0bcfb7dfbdacf225ba6f6898b1d105f5aba6f8e3..f049118c5e00895599478980e0f77a5acc6edd19 100644 (file)
@@ -53,7 +53,7 @@ void bt_notification_init(struct bt_notification *notification,
        BT_ASSERT(type >= 0 && type < BT_NOTIFICATION_TYPE_NR);
        notification->type = type;
        init_seq_num(notification);
-       bt_object_init(&notification->base, release);
+       bt_object_init_shared(&notification->base, release);
        notification->graph = graph;
 
        if (graph) {
This page took 0.024316 seconds and 4 git commands to generate.