Skip to content
Snippets Groups Projects
Commit 3b86f463 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard
Browse files

server: Handle NULL thread in send_hardware_message (Coverity).

parent a09621b0
No related branches found
No related tags found
No related merge requests found
......@@ -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) );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment