Commit 3a82706e authored by Pavel Roskin's avatar Pavel Roskin Committed by Alexandre Julliard

Call HeapAlloc() on entries before HeapReAlloc() to avoid crash on

Windows 2000.
parent 1341e9ae
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment