From 164803cb048c1d8f47e6981d5e7c7d3ad863cec9 Mon Sep 17 00:00:00 2001 From: qouyang Date: Fri, 9 Jun 2006 11:01:28 +0000 Subject: [PATCH] Fix GenffsFileTask.java one bug: create *.org failed in some machine. Root cause is unclosing DataOutputStream after used. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@455 6f19259b-4bc3-4df7-8a09-765794883524 --- .../org/tianocore/framework/tasks/GenFfsFileTask.java | 1 + 1 file changed, 1 insertion(+) diff --git a/Tools/Source/FrameworkTasks/org/tianocore/framework/tasks/GenFfsFileTask.java b/Tools/Source/FrameworkTasks/org/tianocore/framework/tasks/GenFfsFileTask.java index 4d4c99625b..8aff2e86bf 100644 --- a/Tools/Source/FrameworkTasks/org/tianocore/framework/tasks/GenFfsFileTask.java +++ b/Tools/Source/FrameworkTasks/org/tianocore/framework/tasks/GenFfsFileTask.java @@ -207,6 +207,7 @@ public class GenFfsFileTask extends Task implements EfiDefine, FfsTypes { } } dataBuffer.close(); + orgDataBuffer.close(); } catch (Exception e) { throw new BuildException (e.getMessage()); }