Author: pschweitzer
Date: Thu Dec 29 13:25:08 2011
New Revision: 54780
URL:
http://svn.reactos.org/svn/reactos?rev=54780&view=rev
Log:
[SYSDM]
Fix the fix of the fix
Modified:
trunk/reactos/dll/cpl/sysdm/hardprof.c
Modified: trunk/reactos/dll/cpl/sysdm/hardprof.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/hardprof.c?r…
==============================================================================
--- trunk/reactos/dll/cpl/sysdm/hardprof.c [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/sysdm/hardprof.c [iso-8859-1] Thu Dec 29 13:25:08 2011
@@ -208,7 +208,7 @@
if (!GetProfileCount(&pProfileData->dwProfileCount))
{
- HeapFree(pProfileData, 0, GetProcessHeap());
+ HeapFree(GetProcessHeap(), 0, pProfileData);
return FALSE;
}
@@ -216,7 +216,7 @@
pProfileData->dwProfileCount *
sizeof(PROFILE));
if (pProfileData->pProfiles == NULL)
{
- HeapFree(pProfileData, 0, GetProcessHeap());
+ HeapFree(GetProcessHeap(), 0, pProfileData);
return FALSE;
}