mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 09:13:01 +00:00
[SYSDM]
* Revert r53934, this is a false positive from cppcheck. Spotted by Pierre. svn path=/trunk/; revision=53936
This commit is contained in:
parent
5a9d7acea1
commit
6697e8cd41
1 changed files with 0 additions and 3 deletions
|
@ -455,10 +455,7 @@ LoadOSList(HWND hwndDlg, PSTARTINFO pStartInfo)
|
||||||
|
|
||||||
dwBufSize = GetSystemDrive(&szSystemDrive);
|
dwBufSize = GetSystemDrive(&szSystemDrive);
|
||||||
if (dwBufSize == 0)
|
if (dwBufSize == 0)
|
||||||
{
|
|
||||||
HeapFree(GetProcessHeap(), 0, szSystemDrive);
|
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
|
||||||
|
|
||||||
wcscpy(pStartInfo->szFreeldrIni, szSystemDrive);
|
wcscpy(pStartInfo->szFreeldrIni, szSystemDrive);
|
||||||
wcscat(pStartInfo->szFreeldrIni, L"\\freeldr.ini");
|
wcscat(pStartInfo->szFreeldrIni, L"\\freeldr.ini");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue