Commit 6c5e2b67 authored by Bill Medland's avatar Bill Medland Committed by Alexandre Julliard

Correct UnhookWindowsHook: clear the handle so that the server doesn't

try to use it.
parent 774c5f77
......@@ -363,6 +363,7 @@ BOOL WINAPI UnhookWindowsHook( INT id, HOOKPROC proc )
SERVER_START_REQ( remove_hook )
{
req->handle = 0;
req->id = id;
req->proc = proc;
ret = !wine_server_call_err( req );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment