* Revert r53934, this is a false positive from cppcheck. Spotted by Pierre.

svn path=/trunk/; revision=53936
This commit is contained in:
Amine Khaldi 2011-10-02 19:27:07 +00:00
parent 5a9d7acea1
commit 6697e8cd41

View file

@ -455,10 +455,7 @@ LoadOSList(HWND hwndDlg, PSTARTINFO pStartInfo)
dwBufSize = GetSystemDrive(&szSystemDrive);
if (dwBufSize == 0)
{
HeapFree(GetProcessHeap(), 0, szSystemDrive);
return FALSE;
}
wcscpy(pStartInfo->szFreeldrIni, szSystemDrive);
wcscat(pStartInfo->szFreeldrIni, L"\\freeldr.ini");