Coverity Fix : CID #1350546 73/19173/4
Siddhartha Gairola [Sat, 11 Mar 2017 19:14:17 +0000 (00:14 +0530)]
Change-Id: Id6348b5f7b0376c93a142b87ebb937086a15a018

scilab/modules/renderer/src/java/org/scilab/modules/renderer/utils/textRendering/FontManager.java

index 2f01198..b2bd881 100644 (file)
@@ -244,7 +244,8 @@ public class FontManager {
         } catch (FontFormatException ffe) {
             loadedFont = DEFAULT_FONT;
         }
-
+        
+        in.close();
         return loadedFont;
     }