Thread (20 messages) 20 messages, 2 authors, 2012-07-18

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

From: Johan Hedberg <hidden>
Date: 2012-07-18 11:59:21

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help