[PATCH 4.19 2/2] moxart: fix potential use-after-free on remove path