[PATCH 5.2 041/413] media: vim2m: fix two double-free issues