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:
Bi, Dandan
2018-02-27 13:53:46 +08:00
committed by Liming Gao
parent 0a4f2d4869
commit f7e9858102
5 changed files with 22 additions and 22 deletions

View File

@@ -77,7 +77,7 @@ CVfrErrorHandle::~CVfrErrorHandle (
SVfrFileScopeRecord *pNode = NULL;
if (mInputFileName != NULL) {
delete mInputFileName;
delete[] mInputFileName;
}
while (mScopeRecordListHead != NULL) {