Diff between d1711f900009e45c6a5de20d31cb9b72a742b3c4 and a421d43fc7a45d52841493a850af98d8becd9891

Changed Files

File Additions Deletions Status
src/device.c +1 -1 modified

Full Patch

diff --git a/src/device.c b/src/device.c
index c51266b..30d5eb9 100644
--- a/src/device.c
+++ b/src/device.c
@@ -1997,7 +1997,7 @@ struct btd_device *device_create(struct btd_adapter *adapter,
 		g_free(str);
 	}
 
-	return btd_device_ref(device);
+	return device;
 }
 
 char *btd_device_get_storage_path(struct btd_device *device,