From 34e90005afeeac17668d10a9ab8d7af402527c00 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 8 Mar 2024 15:48:09 -0500 Subject: [PATCH] Don't forget to unrealize the renderer This causes a critical warning. --- tools/gtk-rendernode-tool-compare.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/gtk-rendernode-tool-compare.c b/tools/gtk-rendernode-tool-compare.c index 06618bcbf7..36ab0c7013 100644 --- a/tools/gtk-rendernode-tool-compare.c +++ b/tools/gtk-rendernode-tool-compare.c @@ -143,5 +143,7 @@ do_compare (int *argc, g_strfreev (filenames); g_object_unref (texture[0]); g_object_unref (texture[1]); + + gsk_renderer_unrealize (renderer); g_object_unref (renderer); }