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()); }