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: ...@@ -1111,6 +1111,8 @@ ok:
out_f: out_f:
fs_entry__free_unpacked(fe, NULL); fs_entry__free_unpacked(fe, NULL);
return -1;
out_i: out_i:
close(ifd); close(ifd);
out: 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