Author: jimtabor
Date: Fri Nov 28 20:44:04 2014
New Revision: 65514
URL:
http://svn.reactos.org/svn/reactos?rev=65514&view=rev
Log:
[NtUser]
- Revert 65431, it seems to be breaking more than it fixes. Process Explorer will break
again, working on a better way to fix this. See CORE-7447.
Modified:
trunk/reactos/win32ss/user/ntuser/message.c
Modified: trunk/reactos/win32ss/user/ntuser/message.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/ntuser/messag…
==============================================================================
--- trunk/reactos/win32ss/user/ntuser/message.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/ntuser/message.c [iso-8859-1] Fri Nov 28 20:44:04 2014
@@ -500,11 +500,6 @@
return Status;
}
}
- if (KernelModeMsg->message == WM_COPYDATA)
- {
- // Only the current process or thread can free the message lParam pointer.
- return STATUS_SUCCESS;
- }
ExFreePool((PVOID) KernelModeMsg->lParam);
}
@@ -1417,11 +1412,6 @@
CLEANUP:
if (Window) UserDerefObjectCo(Window);
- // Current Thread and it's a Copy Data message, then free kernel memory.
- if ( !ptiSendTo && Msg == WM_COPYDATA )
- {
- ExFreePool((PVOID) lParam);
- }
END_CLEANUP;
}