notification = bt_get(ctf_fs->current_notification);
end:
+ BT_PUT(component);
return notification;
}
bt_put(ctf_fs->current_notification);
ctf_fs->current_notification = notification;
end:
- return BT_NOTIFICATION_ITERATOR_STATUS_OK;
+ BT_PUT(component);
+ return ret;
}
static
if (ret) {
goto error;
}
-
end:
return ret;
error:
if (ret != BT_COMPONENT_STATUS_OK) {
goto error;
}
-
end:
return ret;
error: