goto error;
}
+ // FIXME - Validate that the event is associated to a packet
+ // and freeze the event.
notification = g_new0(struct bt_notification_event, 1);
+ if (!notification) {
+ goto error;
+ }
bt_notification_init(¬ification->parent,
BT_NOTIFICATION_TYPE_EVENT,
bt_notification_event_destroy);