server: Fixed winstation object leak in open_input_desktop.
This commit is contained in:
parent
b745d8692b
commit
ca4b3f0f73
|
@ -563,6 +563,7 @@ DECL_HANDLER(open_input_desktop)
|
|||
if (!(winstation->flags & WSF_VISIBLE))
|
||||
{
|
||||
set_error( STATUS_ILLEGAL_FUNCTION );
|
||||
release_object( winstation );
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue