filechooserentry: Plug a memory leak
authorMatthias Clasen <mclasen@redhat.com>
Wed, 12 Apr 2023 10:08:14 +0000 (12:08 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 21 Apr 2023 07:16:51 +0000 (09:16 +0200)
gtk/gtkfilechooserentry.c

index 6c50524adbfb0a3da0712da09db4ec384a07bd54..e10ad94890410940d78c21b5900522efba9c7f9a 100644 (file)
@@ -600,6 +600,9 @@ model_items_changed_cb (GListModel          *model,
                                          DISPLAY_NAME_COLUMN, display_name,
                                          -1);
 
+      g_free (display_name);
+      g_free (full_path);
+
       g_clear_object (&info);
 
       position++;