gsk: Plug a memory leak in the gl renderer
authorMatthias Clasen <mclasen@redhat.com>
Wed, 28 Jun 2023 01:52:08 +0000 (21:52 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 28 Jun 2023 01:52:08 +0000 (21:52 -0400)
Found by asan.

gsk/gl/gskglrenderjob.c

index 677e9e88ce115215e8bc3100011eacd4b80320e1..11d410a2051c95daf1f85a64daafa04f72643d2b 100644 (file)
@@ -803,6 +803,8 @@ gsk_gl_render_job_untransform_bounds (GskGLRenderJob        *job,
 
   out_rect->origin.x -= job->offset_x;
   out_rect->origin.y -= job->offset_y;
+
+  gsk_transform_unref (transform);
 }
 
 static inline void