[PATCH v2 05/28] fs/squashfs: sqfs_split_path: fix memory leak and dangling pointers