diff options
author | Matthias Clasen <mclasen@redhat.com> | 2020-11-09 21:04:52 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-11-09 23:29:03 -0500 |
commit | 3e8260d5283402522cfe09a6ffc5fcf2e930561e (patch) | |
tree | ddacf978f997c0f30c675f049d6830d92ee2f601 /demos | |
parent | 192f515682bc3595bc51ac70419f5789ae577613 (diff) | |
download | gtk+-3e8260d5283402522cfe09a6ffc5fcf2e930561e.tar.gz |
gtk-demo: Plug a memory leak
Diffstat (limited to 'demos')
-rw-r--r-- | demos/gtk-demo/listview_ucd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/gtk-demo/listview_ucd.c b/demos/gtk-demo/listview_ucd.c index df120fcb08..35f0523812 100644 --- a/demos/gtk-demo/listview_ucd.c +++ b/demos/gtk-demo/listview_ucd.c @@ -80,7 +80,7 @@ ucd_model_new (void) iter = g_variant_iter_new (v); store = g_list_store_new (G_TYPE_OBJECT); - while (g_variant_iter_next (iter, "(us)", &u, &name)) + while (g_variant_iter_next (iter, "(u&s)", &u, &name)) { if (u == 0) continue; |