From 583fc7fb3f519883e87e6ba3c5cba125664d6927 Mon Sep 17 00:00:00 2001 From: rbuj Date: Sun, 18 Apr 2021 11:00:23 +0200 Subject: capplet: memory leak --- capplet/gsm-properties-dialog.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'capplet') diff --git a/capplet/gsm-properties-dialog.c b/capplet/gsm-properties-dialog.c index 69fe3fe..b1bdbd1 100644 --- a/capplet/gsm-properties-dialog.c +++ b/capplet/gsm-properties-dialog.c @@ -102,6 +102,8 @@ find_by_app (GtkTreeModel *model, g_object_unref (iter_app); return TRUE; } + + g_object_unref (iter_app); } while (gtk_tree_model_iter_next (model, iter)); return FALSE; -- cgit v1.2.1