mirror of
https://github.com/reactos/wine.git
synced 2024-11-28 22:20:26 +00:00
Call HeapAlloc() on entries before HeapReAlloc() to avoid crash on
Windows 2000.
This commit is contained in:
parent
1341e9ae2b
commit
3a82706e54
@ -203,6 +203,9 @@ int FetchUninstallInformation(void)
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (!entries)
|
||||
entries = HeapAlloc(GetProcessHeap(), 0, sizeof(uninst_entry));
|
||||
|
||||
strcpy(key_app, REGSTR_PATH_UNINSTALL);
|
||||
strcat(key_app, "\\");
|
||||
p = key_app+strlen(REGSTR_PATH_UNINSTALL)+1;
|
||||
|
Loading…
Reference in New Issue
Block a user