From e904c49e8aaebc266bac9024b13389e4521bbbaa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timm=20B=C3=A4der?= Date: Sun, 21 Jul 2019 09:06:10 +0200 Subject: [PATCH] gl renderer: ops_set_modelview is (transfer full) regarding the passed modelview matrix --- gsk/gl/gskglrenderops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gsk/gl/gskglrenderops.c b/gsk/gl/gskglrenderops.c index 7c02442d08..057674ddbc 100644 --- a/gsk/gl/gskglrenderops.c +++ b/gsk/gl/gskglrenderops.c @@ -401,7 +401,7 @@ ops_set_modelview (RenderOpBuilder *builder, g_array_set_size (builder->mv_stack, builder->mv_stack->len + 1); entry = &g_array_index (builder->mv_stack, MatrixStackEntry, builder->mv_stack->len - 1); - entry->transform = gsk_transform_ref (transform); + entry->transform = transform; entry->metadata.dx_before = builder->dx; entry->metadata.dy_before = builder->dy;