Hi Guillaume, >> Who owns the cbd data in this case? Are we not leaking that here? >> > > Yes, we are. I see 2 options here: > a- Tweaking current at_util_sim_state_query_new(GAtChat *chat, > guint interval, guint num_times, > at_util_sim_inserted_cb_t cb, > void *userdata, GDestroyNotify data_destroy); in > adding a destroyer for user data > > b- Implementing new gpointer at_util_sim_state_query_get_data(struct > at_util_sim_state_query *req); and free user_data during remove >
Option a would be fine. Regards, -Denis _______________________________________________ ofono mailing list [email protected] http://lists.ofono.org/listinfo/ofono
