Hi Frédéric, On Tue, Jul 17, 2012, Frédéric Danis wrote: > static int register_interface(void *adapter) > { > const char *path; > + struct tel_adapter *tel_adapter; > > if (DBUS_TYPE_UNIX_FD < 0) > return -1; > > path = adapter_get_path(adapter); > > + tel_adapter = g_new0(struct tel_adapter, 1); > + tel_adapter->btd_adapter = adapter; Missing btd_adapter_ref(). Also add the unref to the right place. Johan -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html