diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2017-03-14 13:13:29 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2017-03-15 16:49:06 +0100 |
commit | 2691498b5c68a9c8908da296bf867bfc7f9a068f (patch) | |
tree | fedea1abcc9a6a6bb2d44a0c788fb1fbe168747b /src/libutil/compression.cc | |
parent | fbbc4d8dda4d347351c0667d1d9a571b201256cf (diff) |
Fix assertion failure on SIGINT
nix: src/libutil/compression.cc:142: virtual nix::XzSink::~XzSink(): Assertion `finished' failed.
Diffstat (limited to 'src/libutil/compression.cc')
-rw-r--r-- | src/libutil/compression.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/libutil/compression.cc b/src/libutil/compression.cc index 723b072af..8cb1dde66 100644 --- a/src/libutil/compression.cc +++ b/src/libutil/compression.cc @@ -146,7 +146,6 @@ struct XzSink : CompressionSink ~XzSink() { - assert(finished); lzma_end(&strm); } @@ -217,7 +216,6 @@ struct BzipSink : CompressionSink ~BzipSink() { - assert(finished); BZ2_bzCompressEnd(&strm); } |