v1.1.1
BSDiff v1.1.1
This release fixes a major memory leak: CodecBzip2 leaks memory if a transcoding stream is not explicitly closed, which we were not doing. However, if you explicitly close a transcoding stream, it closes the stream it wraps, which we don't want (there's no official API around this). Moreover, if an error is thrown then the stream isn't closed and memory is leaked. This release works around the problem by adding finalizers to Patch objects that finalize their transcoding streams, ensuring that memory is released in all cases.
Merged pull requests:
- fix CodecBzip2 memory leaks (#43) (@StefanKarpinski)