[evolution-ews/gnome-3-10] Bug #708348 - Memory leaks from account preferences
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-ews/gnome-3-10] Bug #708348 - Memory leaks from account preferences
- Date: Mon, 23 Sep 2013 15:58:20 +0000 (UTC)
commit 2fad9e74ae7b74f46c43150e43c52f9c0da45ec9
Author: Milan Crha <mcrha redhat com>
Date: Mon Sep 23 17:57:06 2013 +0200
Bug #708348 - Memory leaks from account preferences
.../e-mail-config-ews-folder-sizes-page.c | 1 +
src/configuration/e-mail-config-ews-gal.c | 3 ++-
2 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/configuration/e-mail-config-ews-folder-sizes-page.c
b/src/configuration/e-mail-config-ews-folder-sizes-page.c
index 8451b94..5dd1930 100644
--- a/src/configuration/e-mail-config-ews-folder-sizes-page.c
+++ b/src/configuration/e-mail-config-ews-folder-sizes-page.c
@@ -197,6 +197,7 @@ mail_config_ews_folder_sizes_page_constructed (GObject *object)
gtk_label_set_use_markup (GTK_LABEL (widget), TRUE);
gtk_misc_set_alignment (GTK_MISC (widget), 0.0, 0.5);
gtk_grid_attach (content_grid, widget, 0, 0, 2, 1);
+ g_free (markup);
widget = gtk_label_new (_("View the size of all Exchange folders"));
gtk_misc_set_alignment (GTK_MISC (widget), 0, 0.5);
diff --git a/src/configuration/e-mail-config-ews-gal.c b/src/configuration/e-mail-config-ews-gal.c
index cfd9a7f..8f36be9 100644
--- a/src/configuration/e-mail-config-ews-gal.c
+++ b/src/configuration/e-mail-config-ews-gal.c
@@ -148,7 +148,7 @@ mail_config_ews_gal_active_id_to_oal_selected (GBinding *binding,
GObject *target_object;
GtkComboBoxText *combo_box;
const gchar *active_id;
- const gchar *active_text;
+ gchar *active_text;
gchar *selected = NULL;
target_object = g_binding_get_target (binding);
@@ -162,6 +162,7 @@ mail_config_ews_gal_active_id_to_oal_selected (GBinding *binding,
g_value_set_string (target_value, selected);
+ g_free (active_text);
g_free (selected);
return TRUE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]