[PATCH 4.9 077/175] memstick: fix a double-free bug in memstick_check