X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=BaseTools%2FSource%2FC%2FGenSec%2FGenSec.c;fp=BaseTools%2FSource%2FC%2FGenSec%2FGenSec.c;h=01d3bc4448089fdd30543e7f567346bf82217697;hb=ae0fbb7f5ad41866bca89320f501282e173b373d;hp=5545f12b74a8d2c15a70950ea57e45ce92a7cadb;hpb=33fc1fc46deb3b7779b92228b1c2d0aba2d16e44;p=mirror_edk2.git diff --git a/BaseTools/Source/C/GenSec/GenSec.c b/BaseTools/Source/C/GenSec/GenSec.c index 5545f12b74..01d3bc4448 100644 --- a/BaseTools/Source/C/GenSec/GenSec.c +++ b/BaseTools/Source/C/GenSec/GenSec.c @@ -1670,7 +1670,11 @@ Finish: if (OutFile != NULL) { fclose (OutFile); } - + + if (DummyFileBuffer != NULL) { + free (DummyFileBuffer); + } + VerboseMsg ("%s tool done with return code is 0x%x.", UTILITY_NAME, GetUtilityStatus ()); return GetUtilityStatus ();