Memory leak in TagWriter.java method writeBitsLossless(...)
Status: Beta
Brought to you by:
nickmain
TagWriter.writeBitsLossless(...) creates a new
DeflaterOutputStream and a new OutStream each time
it is called but does not properly clean them up.
The fix:
try {
<blah blah>
}
finally
{
zipOut.flush();
zipOut.close();
deflater.close();
}