summaryrefslogtreecommitdiffstats
path: root/PerformancePkg
diff options
context:
space:
mode:
Diffstat (limited to 'PerformancePkg')
-rw-r--r--PerformancePkg/Dp_App/Dp.c3
1 files changed, 3 insertions, 0 deletions
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);
}