mirror of
https://github.com/reactos/reactos.git
synced 2024-07-11 15:15:27 +00:00
[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. svn path=/trunk/; revision=65514
This commit is contained in:
parent
d3b2696104
commit
5ec4df01ce
|
@ -500,11 +500,6 @@ CopyMsgToUserMem(MSG *UserModeMsg, MSG *KernelModeMsg)
|
|||
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 @@ co_IntSendMessageTimeoutSingle( HWND hWnd,
|
|||
|
||||
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue