[gtk/wip/otte/sortlistmodel: 90/134] testsuite: Fix a leak



commit 2c519b006dfdade500ebcd056f471d24cd26342a
Author: Benjamin Otte <otte redhat com>
Date:   Sun Jul 12 06:46:49 2020 +0200

    testsuite: Fix a leak

 testsuite/gtk/filterlistmodel-exhaustive.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/testsuite/gtk/filterlistmodel-exhaustive.c b/testsuite/gtk/filterlistmodel-exhaustive.c
index 01ce99eab5..19bec198a3 100644
--- a/testsuite/gtk/filterlistmodel-exhaustive.c
+++ b/testsuite/gtk/filterlistmodel-exhaustive.c
@@ -424,6 +424,7 @@ test_model_changes (gconstpointer model_id)
                                position,
                                remove ? 1 : 0,
                                (gpointer *) &source, 1);
+          g_object_unref (model1);
           g_object_unref (source);
         }
       else if (remove)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]