From 9e66d845853fdcae352c22432540b8d7ffc7f850 Mon Sep 17 00:00:00 2001 From: Sebastian Lackner Date: Fri, 30 Oct 2015 08:26:07 +0100 Subject: [PATCH] server: Add a missing grab_object in cgwe_enum. Signed-off-by: Sebastian Lackner Signed-off-by: Alexandre Julliard --- server/console.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/console.c b/server/console.c index 78e91d6c90f..389547d47f8 100644 --- a/server/console.c +++ b/server/console.c @@ -1781,7 +1781,7 @@ static int cgwe_enum( struct process* process, void* user) { if (process->console && process->console->renderer == current) { - *(struct console_input**)user = process->console; + *(struct console_input**)user = (struct console_input *)grab_object( process->console ); return 1; } return 0;