aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/afp/apps/FontPatternExtractor.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/org/apache/fop/afp/apps/FontPatternExtractor.java')
-rw-r--r--src/java/org/apache/fop/afp/apps/FontPatternExtractor.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/java/org/apache/fop/afp/apps/FontPatternExtractor.java b/src/java/org/apache/fop/afp/apps/FontPatternExtractor.java
index 7a2b8ed36..66150dda3 100644
--- a/src/java/org/apache/fop/afp/apps/FontPatternExtractor.java
+++ b/src/java/org/apache/fop/afp/apps/FontPatternExtractor.java
@@ -63,6 +63,7 @@ public class FontPatternExtractor {
}
ByteArrayInputStream bin = new ByteArrayInputStream(baout.toByteArray());
+ IOUtils.closeQuietly(baout);
DataInputStream din = new DataInputStream(bin);
long len = din.readInt() & 0xFFFFFFFFL;
println("Length: " + len);