From: Rémi Bernon <rbernon@codeweavers.com> Fixes: df7943684d11c4ad26128da2abc1506f29c4eb45 Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=59320 --- dlls/opengl32/wgl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/opengl32/wgl.c b/dlls/opengl32/wgl.c index 9999bbdae2f..45b9761b6f9 100644 --- a/dlls/opengl32/wgl.c +++ b/dlls/opengl32/wgl.c @@ -1888,7 +1888,7 @@ BOOL get_sync_from_handle( GLsync handle, GLsync *obj ) static struct handle_entry *alloc_client_sync( struct context *ctx ) { struct handle_entry *ptr; - GLsync *sync; + GLsync sync; if (!(sync = calloc( 1, sizeof(*sync) ))) return NULL; if (!(ptr = alloc_handle( &ctx->syncs, sync ))) -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/9980