]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/common/SaveFile.java
1. Fix bug for wrong Variable name in msa file
[mirror_edk2.git] / Tools / Source / FrameworkWizard / src / org / tianocore / frameworkwizard / common / SaveFile.java
index e28252239fd4a001c7bcc498706252139ba0c2b9..13e6786ca702611394dd8261c1b5ef93d5f697b7 100644 (file)
@@ -228,6 +228,7 @@ public class SaveFile {
         //Save the file\r
         //\r
         msaDoc.save(f, options);\r
+        cursor.dispose();\r
     }\r
 \r
     /**\r
@@ -262,6 +263,7 @@ public class SaveFile {
         //Save the file\r
         //\r
         spdDoc.save(f, options);\r
+        cursor.dispose();\r
     }\r
 \r
     /**\r
@@ -296,6 +298,7 @@ public class SaveFile {
         //Save the file\r
         //\r
         fpdDoc.save(f, options);\r
+        cursor.dispose();\r
     }\r
 \r
     /**\r
@@ -326,5 +329,6 @@ public class SaveFile {
         //Save the file\r
         //\r
         dbDoc.save(f, options);\r
+        cursor.dispose();\r
     }\r
 }\r