[PATCH 4.19 161/346] memstick: fix a double-free bug in memstick_check