server: Fix invalid memory accesss caused by destroying winstation before desktop.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
8676f7bae0
commit
df39830846
|
@ -253,6 +253,7 @@ static void desktop_destroy( struct object *obj )
|
|||
if (desktop->global_hooks) release_object( desktop->global_hooks );
|
||||
if (desktop->close_timeout) remove_timeout_user( desktop->close_timeout );
|
||||
list_remove( &desktop->entry );
|
||||
unlink_named_object( obj );
|
||||
release_object( desktop->winstation );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue