[PATCH 4.14 107/242] memstick: fix a double-free bug in memstick_check