mirror of
https://github.com/reactos/reactos.git
synced 2025-06-01 23:48:12 +00:00
[ROSAUTOTEST]
Use matching delete operator CID #1102027 CID #1102028 svn path=/trunk/; revision=62635
This commit is contained in:
parent
8e01ed0bd8
commit
5ce3089b36
2 changed files with 2 additions and 2 deletions
|
@ -178,7 +178,7 @@ CWineTest::GetNextTest()
|
||||||
m_CurrentFile.clear();
|
m_CurrentFile.clear();
|
||||||
|
|
||||||
/* Also free the memory for the list buffer */
|
/* Also free the memory for the list buffer */
|
||||||
delete m_ListBuffer;
|
delete[] m_ListBuffer;
|
||||||
m_ListBuffer = NULL;
|
m_ListBuffer = NULL;
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
|
|
@ -196,7 +196,7 @@ GetINIValue(PCWCH AppName, PCWCH KeyName, PCWCH FileName)
|
||||||
WideCharToMultiByte(CP_ACP, 0, Buffer, Length + 1, AsciiBuffer, Length + 1, NULL, NULL);
|
WideCharToMultiByte(CP_ACP, 0, Buffer, Length + 1, AsciiBuffer, Length + 1, NULL, NULL);
|
||||||
|
|
||||||
ReturnedString = AsciiBuffer;
|
ReturnedString = AsciiBuffer;
|
||||||
delete AsciiBuffer;
|
delete[] AsciiBuffer;
|
||||||
}
|
}
|
||||||
|
|
||||||
return ReturnedString;
|
return ReturnedString;
|
||||||
|
|
Loading…
Reference in a new issue