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) {