[balsa/gtk4: 119/298] filter-run-dialog: Do not leak the GtkSizeGroup




commit 6cf209a74e92e5bcb19fae9df2eac926973759eb
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date:   Sun Aug 30 14:09:10 2020 -0400

    filter-run-dialog: Do not leak the GtkSizeGroup

 src/filter-run-dialog.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/src/filter-run-dialog.c b/src/filter-run-dialog.c
index 41579ffd7..9a821f401 100644
--- a/src/filter-run-dialog.c
+++ b/src/filter-run-dialog.c
@@ -453,6 +453,8 @@ balsa_filter_run_dialog_init(BalsaFilterRunDialog *p)
     gtk_size_group_add_widget(size_group, button);
     gtk_container_add(GTK_CONTAINER(bbox), button);
 
+    g_object_unref(size_group);
+
     p->filters_modified = FALSE;
 }
 


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