pack: close the input file after reading the package description

Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
master
David Oberhollenzer 4 years ago
parent e3740ba387
commit 9b18455679

@ -95,8 +95,10 @@ int desc_read(const char *path, pkg_desc_t *desc)
goto fail;
}
cleanup_file(&f);
return 0;
fail:
cleanup_file(&f);
return -1;
}

Loading…
Cancel
Save