X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=lib%2Fgraph%2Fnotification%2Fnotification.c;h=f049118c5e00895599478980e0f77a5acc6edd19;hb=3fea54f69edd1780566230255da196cb6e82df62;hp=0bcfb7dfbdacf225ba6f6898b1d105f5aba6f8e3;hpb=baa56d0a4425a4865c638faaed4728ece07d59c7;p=babeltrace.git diff --git a/lib/graph/notification/notification.c b/lib/graph/notification/notification.c index 0bcfb7df..f049118c 100644 --- a/lib/graph/notification/notification.c +++ b/lib/graph/notification/notification.c @@ -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(¬ification->base, release); + bt_object_init_shared(¬ification->base, release); notification->graph = graph; if (graph) {