summaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
authorqouyang <qouyang@6f19259b-4bc3-4df7-8a09-765794883524>2006-06-09 11:01:28 +0000
committerqouyang <qouyang@6f19259b-4bc3-4df7-8a09-765794883524>2006-06-09 11:01:28 +0000
commit164803cb048c1d8f47e6981d5e7c7d3ad863cec9 (patch)
treeb750a383daaeb5f354f3a68daf82c107441542ff /Tools
parent3099b289e689b3167e683ae994fcb71972f00125 (diff)
downloadedk2-platforms-164803cb048c1d8f47e6981d5e7c7d3ad863cec9.tar.xz
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
Diffstat (limited to 'Tools')
-rw-r--r--Tools/Source/FrameworkTasks/org/tianocore/framework/tasks/GenFfsFileTask.java1
1 files changed, 1 insertions, 0 deletions
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());
}