void destroy_private_counter_data(struct counter *counter)
{
- bt_put(counter->notif_iter);
+ bt_object_put_ref(counter->notif_iter);
g_free(counter);
}
counter = bt_private_component_get_user_data(component);
BT_ASSERT(counter);
try_print_last(counter);
- bt_put(counter->notif_iter);
+ bt_object_put_ref(counter->notif_iter);
g_free(counter);
}
goto end;
}
- BT_MOVE(counter->notif_iter, iterator);
+ BT_OBJECT_MOVE_REF(counter->notif_iter, iterator);
end:
- bt_put(connection);
+ bt_object_put_ref(connection);
return status;
}
counter->count.other++;
}
- bt_put(notif);
+ bt_object_put_ref(notif);
}
}
default: