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:
parent
ed5a375b8a
commit
9e66d84585
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue