Diff between 98f5da02ce148a61efdfb2557152448f04bab51f and 5fb9c9feb1b7d8845d10c386cfdcf17aa13cb27c
Changed Files
| File | Additions | Deletions | Status |
| profiles/input/hog.c | +0 | -2 | modified |
Full Patch
diff --git a/profiles/input/hog.c b/profiles/input/hog.c
index 91de4c7..d50b823 100644
--- a/profiles/input/hog.c
+++ b/profiles/input/hog.c
@@ -207,8 +207,6 @@ static int hog_disconnect(struct btd_service *service)
struct hog_device *dev = btd_service_get_user_data(service);
bt_hog_detach(dev->hog);
- bt_hog_unref(dev->hog);
- dev->hog = NULL;
btd_service_disconnecting_complete(service, 0);