Commit 3b86f463 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

server: Handle NULL thread in send_hardware_message (Coverity).

parent a09621b0
......@@ -1720,7 +1720,7 @@ DECL_HANDLER(send_hardware_message)
if (!(data = mem_alloc( sizeof(*data) )))
{
release_object( thread );
if (thread) release_object( thread );
return;
}
memset( data, 0, sizeof(*data) );
......
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