Commit ca4b3f0f authored by Qian Hong's avatar Qian Hong Committed by Alexandre Julliard

server: Fixed winstation object leak in open_input_desktop.

parent b745d869
...@@ -563,6 +563,7 @@ DECL_HANDLER(open_input_desktop) ...@@ -563,6 +563,7 @@ DECL_HANDLER(open_input_desktop)
if (!(winstation->flags & WSF_VISIBLE)) if (!(winstation->flags & WSF_VISIBLE))
{ {
set_error( STATUS_ILLEGAL_FUNCTION ); set_error( STATUS_ILLEGAL_FUNCTION );
release_object( winstation );
return; return;
} }
......
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