Commit df92979b authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

server: Removed NULL check after usage (Coverity).

parent 74c741ad
......@@ -957,11 +957,8 @@ static void msg_queue_destroy( struct object *obj )
free( timer );
}
if (queue->timeout) remove_timeout_user( queue->timeout );
if (queue->input)
{
queue->input->cursor_count -= queue->cursor_count;
release_object( queue->input );
}
queue->input->cursor_count -= queue->cursor_count;
release_object( queue->input );
if (queue->hooks) release_object( queue->hooks );
if (queue->fd) release_object( queue->fd );
}
......
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