From ca4b3f0f73605082a77a427b2d94a1e23bc47ca3 Mon Sep 17 00:00:00 2001 From: Qian Hong Date: Sat, 9 Nov 2013 17:17:11 +0800 Subject: [PATCH] server: Fixed winstation object leak in open_input_desktop. --- server/winstation.c | 1 + 1 file changed, 1 insertion(+) diff --git a/server/winstation.c b/server/winstation.c index 2eaffb0bbe2..08389bbbdb3 100644 --- a/server/winstation.c +++ b/server/winstation.c @@ -563,6 +563,7 @@ DECL_HANDLER(open_input_desktop) if (!(winstation->flags & WSF_VISIBLE)) { set_error( STATUS_ILLEGAL_FUNCTION ); + release_object( winstation ); return; } -- 2.11.4.GIT