summaryrefslogtreecommitdiff
path: root/archival/bzip2.c
diff options
context:
space:
mode:
Diffstat (limited to 'archival/bzip2.c')
-rw-r--r--archival/bzip2.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/archival/bzip2.c b/archival/bzip2.c
index c750a05..67df144 100644
--- a/archival/bzip2.c
+++ b/archival/bzip2.c
@@ -116,7 +116,9 @@ USE_DESKTOP(long long) int bz_write_tail(bz_stream *strm, void *wbuf)
total = 0 USE_DESKTOP( + strm->total_out );
err:
+#if ENABLE_FEATURE_CLEAN_UP
BZ2_bzCompressEnd(strm);
+#endif
return total;
}