diff --git a/BaseTools/Source/C/Common/PcdValueCommon.c b/BaseTools/Source/C/Common/PcdValueCommon.c
index 42f76ddbbc..348f148ff9 100644
--- a/BaseTools/Source/C/Common/PcdValueCommon.c
+++ b/BaseTools/Source/C/Common/PcdValueCommon.c
@@ -1,7 +1,7 @@
/** @file
This file contains the PcdValue structure definition.
-Copyright (c) 2017, Intel Corporation. All rights reserved.
+Copyright (c) 2017 - 2018, Intel Corporation. All rights reserved.
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
@@ -106,6 +106,9 @@ Returns:
case 5:
PcdList[PcdIndex].Value = Token;
break;
+ default:
+ free (Token);
+ break;
}
}