liblzma: Fix a memory leak in stream_encoder.c.
authorLasse Collin <lasse.collin@tukaani.org>
Sat, 2 Apr 2011 11:49:56 +0000 (14:49 +0300)
committerLasse Collin <lasse.collin@tukaani.org>
Sat, 2 Apr 2011 11:49:56 +0000 (14:49 +0300)
commitbd432015d33dcade611d297bc01eb0700088ef6c
treecd6b3e68f027ff83764e986a53b48acb62685fd2
parent16889013214e7620d204b6e6c1bf9f3103a13655
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