Re: [PATCH v13 14/14] audio: Add fast connectable to telephony interface

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux