liblzma: Fix a memory leak in stream_encoder.c.
commitaa95516d3d509c6b7895ee519004afcf500a0759
authorLasse Collin <lasse.collin@tukaani.org>
Sat, 2 Apr 2011 11:49:56 +0000 (2 14:49 +0300)
committerLasse Collin <lasse.collin@tukaani.org>
Tue, 5 Apr 2011 12:27:48 +0000 (5 15:27 +0300)
treeb22d23c1cd65df514dbe6c9055c792884734c31c
parent58f52c72f49562a08042da9a2f4bbdf4dd162d0c
liblzma: Fix a memory leak in stream_encoder.c.

It leaks old filter options structures (hundred bytes or so)
every time the lzma_stream is reinitialized. With the xz tool,
this happens when compressing multiple files.
src/liblzma/common/stream_encoder.c