Author: cwittich
Date: Mon Nov 3 10:22:44 2008
New Revision: 37171
URL:
http://svn.reactos.org/svn/reactos?rev=37171&view=rev
Log:
ExFreePool -> ExFreePoolWithTag
Status != STATUS_SUCCESS -> !NT_SUCCESS(Status)
Modified:
trunk/reactos/subsystems/win32/win32k/eng/event.c
trunk/reactos/subsystems/win32/win32k/eng/float.c
trunk/reactos/subsystems/win32/win32k/eng/semaphor.c
trunk/reactos/subsystems/win32/win32k/ntuser/callback.c
Modified: trunk/reactos/subsystems/win32/win32k/eng/event.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/en…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/eng/event.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/eng/event.c [iso-8859-1] Mon Nov 3 10:22:44
2008
@@ -30,7 +30,7 @@
STDCALL
EngDeleteEvent ( IN PEVENT Event)
{
- ExFreePool(Event);
+ ExFreePoolWithTag(Event, TAG_DFSM);
return TRUE;
}
@@ -79,7 +79,7 @@
EngUnmapEvent ( IN PEVENT Event )
{
ObDereferenceObject((PVOID)Event);
- ExFreePool(Event);
+ ExFreePoolWithTag(Event, TAG_DFSM);
return TRUE;
}
@@ -97,7 +97,7 @@
KernelMode,
FALSE,
TimeOut);
- if (Status != STATUS_SUCCESS)
+ if (!NT_SUCCESS(Status))
{
return FALSE;
}
Modified: trunk/reactos/subsystems/win32/win32k/eng/float.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/en…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/eng/float.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/eng/float.c [iso-8859-1] Mon Nov 3 10:22:44
2008
@@ -41,7 +41,7 @@
{
NTSTATUS Status;
Status = KeRestoreFloatingPointState((PKFLOATING_SAVE)Buffer);
- if (Status != STATUS_SUCCESS)
+ if (!NT_SUCCESS(Status))
{
return FALSE;
}
Modified: trunk/reactos/subsystems/win32/win32k/eng/semaphor.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/en…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/eng/semaphor.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/eng/semaphor.c [iso-8859-1] Mon Nov 3 10:22:44
2008
@@ -81,7 +81,7 @@
ExDeleteResourceLite((PERESOURCE)hsem);
- ExFreePool ( (PVOID)hsem );
+ ExFreePoolWithTag( (PVOID)hsem, TAG_GSEM);
}
/*
Modified: trunk/reactos/subsystems/win32/win32k/ntuser/callback.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/nt…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntuser/callback.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/ntuser/callback.c [iso-8859-1] Mon Nov 3
10:22:44 2008
@@ -86,7 +86,7 @@
RemoveEntryList(&Mem->ListEntry);
/* free memory */
- ExFreePool(Mem);
+ ExFreePoolWithTag(Mem, TAG_CALLBACK);
}
VOID FASTCALL