destroy file handle in error case

this issue was found by static analysis tool

Change-Id: Iecf4cc465bee236c9ce00704f9c53022fec52818
Signed-off-by: GeQi <geqi@xiaomi.com>
1 file changed