summaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-11-09 21:04:52 -0500
committerMatthias Clasen <mclasen@redhat.com>2020-11-09 23:29:03 -0500
commit3e8260d5283402522cfe09a6ffc5fcf2e930561e (patch)
treeddacf978f997c0f30c675f049d6830d92ee2f601 /demos
parent192f515682bc3595bc51ac70419f5789ae577613 (diff)
downloadgtk+-3e8260d5283402522cfe09a6ffc5fcf2e930561e.tar.gz
gtk-demo: Plug a memory leak
Diffstat (limited to 'demos')
-rw-r--r--demos/gtk-demo/listview_ucd.c2
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;