X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=PerformancePkg%2FDp_App%2FDp.c;fp=PerformancePkg%2FDp_App%2FDp.c;h=b24a0de72d74c952b285f3f9150273535de87301;hp=e36a03209187ccbc174767ce757338f78046ea68;hb=38ac6bf1a60f107a597390ad9f52cdb4f51194ee;hpb=4fa7b3301ef31f2787b9d0bde6694203a67b3ff2 diff --git a/PerformancePkg/Dp_App/Dp.c b/PerformancePkg/Dp_App/Dp.c index e36a032091..b24a0de72d 100644 --- a/PerformancePkg/Dp_App/Dp.c +++ b/PerformancePkg/Dp_App/Dp.c @@ -526,6 +526,9 @@ Done: SafeFreePool (StringPtr); SafeFreePool (mPrintTokenBuffer); + if (ParamPackage != NULL) { + ShellCommandLineFreeVarList (ParamPackage); + } if (CustomCumulativeData != NULL) { SafeFreePool (CustomCumulativeData->Name); }