[gedit] Do not leak the print settings
- From: Paolo Borelli <pborelli src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit] Do not leak the print settings
- Date: Sat, 24 Jan 2015 10:32:41 +0000 (UTC)
commit c6279ce3109a37d5ac6332a4f786deb89c80a148
Author: Paolo Borelli <pborelli gnome org>
Date: Sat Jan 24 11:23:40 2015 +0100
Do not leak the print settings
gedit/gedit-tab.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gedit/gedit-tab.c b/gedit/gedit-tab.c
index df7bc5f..f19e905 100644
--- a/gedit/gedit-tab.c
+++ b/gedit/gedit-tab.c
@@ -2953,6 +2953,8 @@ gedit_tab_print_or_print_preview (GeditTab *tab,
g_object_unref (tab->priv->print_job);
g_error_free (error);
}
+
+ g_object_unref (settings);
}
void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]