From: Sven Baars sbaars@codeweavers.com
--- dlls/win32u/winstation.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/win32u/winstation.c b/dlls/win32u/winstation.c index d774cd2c986..b350b706454 100644 --- a/dlls/win32u/winstation.c +++ b/dlls/win32u/winstation.c @@ -181,8 +181,8 @@ static NTSTATUS find_shared_session_block( SIZE_T offset, SIZE_T size, struct se
static const shared_object_t *find_shared_session_object( struct obj_locator locator ) { + struct session_block *block = NULL; const shared_object_t *object; - struct session_block *block; NTSTATUS status;
if (locator.id && !(status = find_shared_session_block( locator.offset, sizeof(*object), &block )))