Fix the fix of the fix

svn path=/trunk/; revision=54780
This commit is contained in:
Pierre Schweitzer
2011-12-29 13:25:08 +00:00
parent 5e4f3477f3
commit b604379064
+2 -2
View File
@@ -208,7 +208,7 @@ GetProfiles(HWND hwndDlg)
if (!GetProfileCount(&pProfileData->dwProfileCount))
{
HeapFree(pProfileData, 0, GetProcessHeap());
HeapFree(GetProcessHeap(), 0, pProfileData);
return FALSE;
}
@@ -216,7 +216,7 @@ GetProfiles(HWND hwndDlg)
pProfileData->dwProfileCount * sizeof(PROFILE));
if (pProfileData->pProfiles == NULL)
{
HeapFree(pProfileData, 0, GetProcessHeap());
HeapFree(GetProcessHeap(), 0, pProfileData);
return FALSE;
}