From 87b5eadb7c3c9540b34019854d96c9b8da147bda Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 16 Jul 2020 08:49:38 -0400 Subject: [PATCH] treesorter tests: Add a comment This looks like a leak, but isn't one. Add a comment to that effect. --- testsuite/gtk/treesorter.c | 1 + 1 file changed, 1 insertion(+) diff --git a/testsuite/gtk/treesorter.c b/testsuite/gtk/treesorter.c index 6d1e314d30..59a32b5e25 100644 --- a/testsuite/gtk/treesorter.c +++ b/testsuite/gtk/treesorter.c @@ -69,6 +69,7 @@ model_to_string (GListModel *model) if (i > 0) g_string_append (string, " "); g_string_append_printf (string, "%u", get_with_parents (object)); + /* no unref since get_with_parents consumes the ref */ } return g_string_free (string, FALSE);