diff options
-rw-r--r-- | mail/e-mail-reader-utils.c | 1 | ||||
-rw-r--r-- | modules/calendar/e-memo-shell-content.c | 2 | ||||
-rw-r--r-- | plugins/save-calendar/rdf-format.c | 1 |
3 files changed, 4 insertions, 0 deletions
diff --git a/mail/e-mail-reader-utils.c b/mail/e-mail-reader-utils.c index b91b91d500..c6bdebbfb8 100644 --- a/mail/e-mail-reader-utils.c +++ b/mail/e-mail-reader-utils.c @@ -162,6 +162,7 @@ e_mail_reader_confirm_delete (EMailReader *reader) exit: g_clear_object (&folder); + g_clear_object (&settings); return (response == GTK_RESPONSE_OK); } diff --git a/modules/calendar/e-memo-shell-content.c b/modules/calendar/e-memo-shell-content.c index 621567c237..dca724df13 100644 --- a/modules/calendar/e-memo-shell-content.c +++ b/modules/calendar/e-memo-shell-content.c @@ -287,6 +287,8 @@ memo_shell_content_restore_state_cb (EShellWindow *shell_window, settings, "memo-vpane-position", priv->paned, "vposition", G_SETTINGS_BIND_DEFAULT); + + g_object_unref (settings); } static void diff --git a/plugins/save-calendar/rdf-format.c b/plugins/save-calendar/rdf-format.c index 3ca37b1ca1..49eb365d9b 100644 --- a/plugins/save-calendar/rdf-format.c +++ b/plugins/save-calendar/rdf-format.c @@ -55,6 +55,7 @@ calendar_config_get_timezone (void) settings = g_settings_new ("org.gnome.evolution.calendar"); retval = g_settings_get_string (settings, "timezone"); + g_object_unref (settings); if (!retval) retval = g_strdup ("UTC"); |