diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2023-05-08 20:55:08 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2023-05-08 20:55:08 (EDT) |
commit | ab74f60d3b8631633ff4164c57fbfb282a1aa7f3 (patch) | |
tree | 61e515b8338c0074d8f3815e9fb5456bcb1e8b33 /src/opk | |
parent | b6d36859246e1ea432911169d1f325df1479eac7 (diff) |
gzip: Separate last compression from freeing
Diffstat (limited to 'src/opk')
-rw-r--r-- | src/opk/write.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/opk/write.c b/src/opk/write.c index a00cf77..9c710f6 100644 --- a/src/opk/write.c +++ b/src/opk/write.c @@ -125,6 +125,7 @@ opkg_opk_opk_write(struct opkg_opk_opk *opk, const char *file_name) out3: opkg_opk_ustar_free(opk->outer_ustar); out2: + opkg_opk_gzip_finish_write(opk->outer_gzip); opkg_opk_gzip_free(opk->outer_gzip); out1: fclose(opk->file); |