mirror of
https://github.com/libarchive/libarchive.git
synced 2026-01-26 07:37:55 +00:00
Fixing resource cleanup in minitar
This commit is contained in:
parent
25e3dc9148
commit
a2d7d2b2a1
@ -398,6 +398,9 @@ extract(const char *filename, int do_extract, int flags)
|
||||
}
|
||||
archive_read_close(a);
|
||||
archive_read_free(a);
|
||||
|
||||
archive_write_close(ext);
|
||||
archive_write_free(ext);
|
||||
exit(0);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user