[gtk/matthiasc/for-master: 5/12] filechoosernativewin32: Plug a leak
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/matthiasc/for-master: 5/12] filechoosernativewin32: Plug a leak
- Date: Thu, 16 Jul 2020 12:55:21 +0000 (UTC)
commit 497d137fb899d707f279ddb8898334c09eda87ee
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Jul 16 08:47:05 2020 -0400
filechoosernativewin32: Plug a leak
g_list_model_get_item is transfer full.
gtk/gtkfilechoosernativewin32.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/gtk/gtkfilechoosernativewin32.c b/gtk/gtkfilechoosernativewin32.c
index 68076989fc..7bb3e54b36 100644
--- a/gtk/gtkfilechoosernativewin32.c
+++ b/gtk/gtkfilechoosernativewin32.c
@@ -906,6 +906,7 @@ gtk_file_chooser_native_win32_show (GtkFileChooserNative *self)
filechooser_win32_thread_data_free (data);
return FALSE;
}
+ g_object_unref (filter);
}
self->current_filter = gtk_file_chooser_get_filter (GTK_FILE_CHOOSER (self));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]