pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1853698 - /pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/pdmodel/EmbeddedMultipleFonts.java
Date Sat, 16 Feb 2019 10:22:11 GMT
Author: tilman
Date: Sat Feb 16 10:22:11 2019
New Revision: 1853698

URL: http://svn.apache.org/viewvc?rev=1853698&view=rev
Log:
PDFBOX-4457: close ttc objects

Modified:
    pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/pdmodel/EmbeddedMultipleFonts.java

Modified: pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/pdmodel/EmbeddedMultipleFonts.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/pdmodel/EmbeddedMultipleFonts.java?rev=1853698&r1=1853697&r2=1853698&view=diff
==============================================================================
--- pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/pdmodel/EmbeddedMultipleFonts.java
(original)
+++ pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/pdmodel/EmbeddedMultipleFonts.java
Sat Feb 16 10:22:11 2019
@@ -76,6 +76,9 @@ public class EmbeddedMultipleFonts
             }
 
             document.save("example.pdf");
+            
+            ttc2.close();
+            ttc3.close();
         }
     }
 



Mime
View raw message