Fixed memory re-free issue
authorjwang36 <jwang36@7335b38e-4728-0410-8992-fb3ffe349368>
Thu, 25 Oct 2007 09:44:25 +0000 (09:44 +0000)
committerjwang36 <jwang36@7335b38e-4728-0410-8992-fb3ffe349368>
Thu, 25 Oct 2007 09:44:25 +0000 (09:44 +0000)
git-svn-id: https://buildtools.tianocore.org/svn/buildtools/trunk/BaseTools@850 7335b38e-4728-0410-8992-fb3ffe349368

Source/C/GenFw/GenFw.c

index acd1903..5686cee 100644 (file)
@@ -1355,6 +1355,7 @@ Returns:
       // free allcoated memory space\r
       //\r
       free (FileBuffer);\r
+      FileBuffer = NULL;\r
     }\r
     // \r
     // Done successfully\r