server: Handle NULL thread in send_hardware_message (Coverity).

This commit is contained in:
Marcus Meissner 2009-01-28 23:58:38 +01:00 committed by Alexandre Julliard
parent a09621b00f
commit 3b86f463b5
1 changed files with 1 additions and 1 deletions

View File

@ -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) );