diff --git a/components/core/src/clp/streaming_compression/lzma/Compressor.cpp b/components/core/src/clp/streaming_compression/lzma/Compressor.cpp index 50a813ea4..65445061a 100644 --- a/components/core/src/clp/streaming_compression/lzma/Compressor.cpp +++ b/components/core/src/clp/streaming_compression/lzma/Compressor.cpp @@ -117,6 +117,8 @@ auto Compressor::close() -> void { } flush_lzma(LZMA_FINISH); + + // Deallocates LZMA stream's internal data structures lzma_end(&m_compression_stream); // Detach output buffer from LZMA stream