Commit 59076516 authored by Pavel Emelyanov's avatar Pavel Emelyanov

files: Don't double-close the image fd on error

Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 394096b1
......@@ -1111,6 +1111,8 @@ ok:
out_f:
fs_entry__free_unpacked(fe, NULL);
return -1;
out_i:
close(ifd);
out:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment