erofs-utils: fix use-after-free in closedir

No need to closedir _dir again since it has been released.

Signed-off-by: Huang Jianan <huangjianan@oppo.com>
Signed-off-by: Guo Weichao <guoweichao@oppo.com>
Link: https://lore.kernel.org/r/20201127110616.34232-1-huangjianan@oppo.com
Reviewed-by: Gao Xiang <hsiangkao@redhat.com>
[ Gao Xiang: slightly fix the subject of the patch. ]
Signed-off-by: Gao Xiang <hsiangkao@aol.com>
1 file changed