Skip to content
Permalink
Browse files Browse the repository at this point in the history
Fix typo in preprocessor macro in archive_read_format_zip_cleanup()
Frees lzma_stream on cleanup()

Fixes #1165
  • Loading branch information
mmatuska committed Apr 20, 2019
1 parent 5405343 commit ba641f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libarchive/archive_read_support_format_zip.c
Expand Up @@ -2751,7 +2751,7 @@ archive_read_format_zip_cleanup(struct archive_read *a)
inflateEnd(&zip->stream);
#endif

#if HAVA_LZMA_H && HAVE_LIBLZMA
#if HAVE_LZMA_H && HAVE_LIBLZMA
if (zip->zipx_lzma_valid) {
lzma_end(&zip->zipx_lzma_stream);
}
Expand Down

0 comments on commit ba641f7

Please sign in to comment.