[gtk/matthiasc/for-master: 8/12] printunixdialog: Plug a leak
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/matthiasc/for-master: 8/12] printunixdialog: Plug a leak
- Date: Thu, 16 Jul 2020 12:55:36 +0000 (UTC)
commit edb792503b432d2eafc8a8ac16dbc0ca015cc945
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Jul 16 08:48:09 2020 -0400
printunixdialog: Plug a leak
g_list_model_get_item is transfer full.
gtk/gtkprintunixdialog.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/gtk/gtkprintunixdialog.c b/gtk/gtkprintunixdialog.c
index dab4548b49..38f35a0b87 100644
--- a/gtk/gtkprintunixdialog.c
+++ b/gtk/gtkprintunixdialog.c
@@ -3009,6 +3009,8 @@ paper_size_changed (GtkDropDown *combo_box,
gtk_window_present (GTK_WINDOW (custom_paper_dialog));
G_GNUC_END_IGNORE_DEPRECATIONS
+ g_object_unref (page_setup);
+
return;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]