Diff between ab945f5d23f3a1f43bd021f98d4de4234176d4ca and a41d08c3763014ae886a1d51a89801c21da34273

Changed Files

File Additions Deletions Status
android/hog.c +0 -4 modified

Full Patch

diff --git a/android/hog.c b/android/hog.c
index 4f16111..43bd266 100644
--- a/android/hog.c
+++ b/android/hog.c
@@ -699,10 +699,6 @@ static void char_discovered_cb(uint8_t status, GSList *chars, void *user_data)
 static void report_free(void *data)
 {
 	struct report *report = data;
-	struct bt_hog *hog = report->hog;
-
-	if (hog->attrib)
-		g_attrib_unregister(hog->attrib, report->notifyid);
 
 	g_free(report->decl);
 	g_free(report);