Fixed a crash bug found by Google's Yavor Goulishev in opening USB devices. The handle was checked in a bad way.
Fixed a crash bug found by Google's Yavor Goulishev in opening USB devices. The handle was checked in a bad way.

vmandela/libmtp,yifanlu/libMTP,olunx/libmtp,libmtp/libmtp,jemc/libmtp,kbhomes/libmtp-zune,yifanlu/libMTP,pierrezurek/libmtp,philipl/libmtp,mmalecki/libmtp,libmtp/libmtp,Bluerise/libmtp,reverendhomer/libmtp,olunx/libmtp,pierrezurek/libmtp,reverendhomer/libmtp,vmandela/libmtp,jemc/libmtp,philipl/libmtp,libmtp/libmtp,jemc/libmtp,Bluerise/libmtp,mmalecki/libmtp,reverendhomer/libmtp,jemc/libmtp,Bluerise/libmtp,mmalecki/libmtp,kbhomes/libmtp-zune,philipl/libmtp,reverendhomer/libmtp,olunx/libmtp