From f66b6e5059b987ea2af09c188436fdaa78b65cf1 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 12 Apr 2023 12:08:14 +0200 Subject: filechooserentry: Plug a memory leak --- gtk/gtkfilechooserentry.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gtk/gtkfilechooserentry.c b/gtk/gtkfilechooserentry.c index 6c50524adb..e10ad94890 100644 --- a/gtk/gtkfilechooserentry.c +++ b/gtk/gtkfilechooserentry.c @@ -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++; -- cgit v1.2.1