BaseTool/VfrCompile: make delete[] match with new[]
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=764 Cc: Eric Dong <eric.dong@intel.com> Cc: Liming Gao <liming.gao@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Dandan Bi <dandan.bi@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
@@ -77,7 +77,7 @@ CVfrErrorHandle::~CVfrErrorHandle (
|
||||
SVfrFileScopeRecord *pNode = NULL;
|
||||
|
||||
if (mInputFileName != NULL) {
|
||||
delete mInputFileName;
|
||||
delete[] mInputFileName;
|
||||
}
|
||||
|
||||
while (mScopeRecordListHead != NULL) {
|
||||
|
Reference in New Issue
Block a user