mirror of
https://github.com/reactos/reactos.git
synced 2024-08-01 17:11:35 +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;
|
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);
|
ExFreePool((PVOID) KernelModeMsg->lParam);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1417,11 +1412,6 @@ co_IntSendMessageTimeoutSingle( HWND hWnd,
|
||||||
|
|
||||||
CLEANUP:
|
CLEANUP:
|
||||||
if (Window) UserDerefObjectCo(Window);
|
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;
|
END_CLEANUP;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue