Fixed device handle leak.
Also revert back the Galaxy Tab 10 registration.
Change-Id: I8d48f450303111754e7fcd6f87c9f2b2781c5441
diff --git a/src/libusb-glue.c b/src/libusb-glue.c
index fff4620..a6f1a78 100644
--- a/src/libusb-glue.c
+++ b/src/libusb-glue.c
@@ -287,6 +287,7 @@
}
}
+ usb_close(devh);
return 0;
}
diff --git a/src/music-players.h b/src/music-players.h
index 072e61c..4e1caab 100644
--- a/src/music-players.h
+++ b/src/music-players.h
@@ -47,7 +47,6 @@
*/
{ "Motorola", 0x22b8, "Xoom", 0x70a9, DEVICE_FLAG_NONE },
{ "Motorola", 0x22b8, "Xoom", 0x70a8 , DEVICE_FLAG_NONE},
- { "Samsung", 0x4e8, "Galaxy Tab 10.1", 0x6860 , DEVICE_FLAG_NONE},
{ "Creative", 0x041e, "ZEN Vision", 0x411f, DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL },
{ "Creative", 0x041e, "Portable Media Center", 0x4123, DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL },
{ "Creative", 0x041e, "ZEN Xtra (MTP mode)", 0x4128, DEVICE_FLAG_BROKEN_MTPGETOBJPROPLIST_ALL },