pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From le...@apache.org
Subject svn commit: r1768062 - /pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/filter/FlateFilter.java
Date Fri, 04 Nov 2016 16:29:12 GMT
Author: lehmi
Date: Fri Nov  4 16:29:12 2016
New Revision: 1768062

URL: http://svn.apache.org/viewvc?rev=1768062&view=rev
Log:
PDFBOX-3555: call Inflater#end to release resources as proposed by Yoan Alvarez

Modified:
    pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/filter/FlateFilter.java

Modified: pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/filter/FlateFilter.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/filter/FlateFilter.java?rev=1768062&r1=1768061&r2=1768062&view=diff
==============================================================================
--- pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/filter/FlateFilter.java (original)
+++ pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/filter/FlateFilter.java Fri
Nov  4 16:29:12 2016
@@ -133,6 +133,7 @@ final class FlateFilter extends Filter
                 read = in.read(buf); 
                 inflater.setInput(buf,0,read);
             }
+            inflater.end();
         }
         out.flush();
     }



Mime
View raw message