server: Add a missing grab_object in cgwe_enum.

Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Sebastian Lackner 2015-10-30 08:26:07 +01:00 committed by Alexandre Julliard
parent ed5a375b8a
commit 9e66d84585
1 changed files with 1 additions and 1 deletions

View File

@ -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;