mirror of
https://github.com/reactos/reactos.git
synced 2024-08-30 07:08:19 +00:00
avoid crash
svn path=/trunk/; revision=25700
This commit is contained in:
parent
bb10cf55cf
commit
c0e8ed0771
|
@ -47,7 +47,7 @@ StartRecDlgProc(HWND hwndDlg,
|
|||
{
|
||||
/* get Path to freeldr.ini or boot.ini */
|
||||
szSystemDrive = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, MAX_PATH);
|
||||
if (szSystemDrive != NULL)
|
||||
if (szSystemDrive != NULL && szSystemDrive != NULL)
|
||||
{
|
||||
szSystemDrive = _tgetenv(_T("SystemDrive"));
|
||||
if (m_szFreeldrIni != NULL)
|
||||
|
|
Loading…
Reference in a new issue