From: Matthias Clasen Date: Wed, 12 Apr 2023 10:08:14 +0000 (+0200) Subject: filechooserentry: Plug a memory leak X-Git-Tag: archive/raspbian/4.12.3+ds-1+rpi1~1^2^2^2~22^2~4^2~10^2~23 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=f66b6e5059b987ea2af09c188436fdaa78b65cf1;p=gtk4.git filechooserentry: Plug a memory leak --- 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++;