[gnome-disk-utility] gduwindow: Free GList after use



commit f4c63724df6b56e62355b5b88fcb8e93022976a3
Author: Manuel Wassermann <manuel wassermann97 gmail com>
Date:   Sun Apr 3 22:18:22 2022 +0200

    gduwindow: Free GList after use

 src/disks/gduwindow.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/disks/gduwindow.c b/src/disks/gduwindow.c
index 06141eb5..97eb8f08 100644
--- a/src/disks/gduwindow.c
+++ b/src/disks/gduwindow.c
@@ -1136,6 +1136,7 @@ gdu_window_constructed (GObject *object)
       gtk_widget_hide (GTK_WIDGET (l->data));
       gtk_widget_set_no_show_all (GTK_WIDGET (l->data), TRUE);
     }
+  g_list_free (children);
 
   context = gtk_widget_get_style_context (window->device_tree_scrolledwindow);
   gtk_style_context_set_junction_sides (context, GTK_JUNCTION_TOP);


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