server: Removed NULL check after usage (Coverity).

This commit is contained in:
Marcus Meissner 2011-09-23 02:11:57 +02:00 committed by Alexandre Julliard
parent 74c741ad55
commit df92979b39
1 changed files with 2 additions and 5 deletions

View File

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