server: Fixed winstation object leak in open_input_desktop.

This commit is contained in:
Qian Hong 2013-11-09 17:17:11 +08:00 committed by Alexandre Julliard
parent b745d8692b
commit ca4b3f0f73
1 changed files with 1 additions and 0 deletions

View File

@ -563,6 +563,7 @@ DECL_HANDLER(open_input_desktop)
if (!(winstation->flags & WSF_VISIBLE))
{
set_error( STATUS_ILLEGAL_FUNCTION );
release_object( winstation );
return;
}