aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2013-09-23 23:43:18 +0800
committerMilan Crha <mcrha@redhat.com>2013-09-23 23:43:18 +0800
commitbfc448800cea06fb2b7c4fa26cda4e01ffd7a354 (patch)
treeeebeb091ff7807f1264d9cbc6bed1be83a8daa47
parent1331699f4fe35637bf347231960d129509e17db0 (diff)
downloadgsoc2013-evolution-bfc448800cea06fb2b7c4fa26cda4e01ffd7a354.tar
gsoc2013-evolution-bfc448800cea06fb2b7c4fa26cda4e01ffd7a354.tar.gz
gsoc2013-evolution-bfc448800cea06fb2b7c4fa26cda4e01ffd7a354.tar.bz2
gsoc2013-evolution-bfc448800cea06fb2b7c4fa26cda4e01ffd7a354.tar.lz
gsoc2013-evolution-bfc448800cea06fb2b7c4fa26cda4e01ffd7a354.tar.xz
gsoc2013-evolution-bfc448800cea06fb2b7c4fa26cda4e01ffd7a354.tar.zst
gsoc2013-evolution-bfc448800cea06fb2b7c4fa26cda4e01ffd7a354.zip
Bug #708349 - Memory leaks around mail config
-rw-r--r--mail/e-mail-config-identity-page.c1
-rw-r--r--mail/e-mail-config-security-page.c3
-rw-r--r--mail/e-mail-config-sidebar.c2
3 files changed, 6 insertions, 0 deletions
diff --git a/mail/e-mail-config-identity-page.c b/mail/e-mail-config-identity-page.c
index 5db923dc2f..23aa2ddba8 100644
--- a/mail/e-mail-config-identity-page.c
+++ b/mail/e-mail-config-identity-page.c
@@ -435,6 +435,7 @@ mail_config_identity_page_constructed (GObject *object)
gtk_misc_set_alignment (GTK_MISC (widget), 0.0, 0.5);
gtk_grid_attach (GTK_GRID (container), widget, 0, 0, 3, 1);
gtk_widget_show (widget);
+ g_free (markup);
text = _("Re_ply-To:");
widget = gtk_label_new_with_mnemonic (text);
diff --git a/mail/e-mail-config-security-page.c b/mail/e-mail-config-security-page.c
index a41e251175..8d0dcc86c6 100644
--- a/mail/e-mail-config-security-page.c
+++ b/mail/e-mail-config-security-page.c
@@ -264,6 +264,7 @@ mail_config_security_page_constructed (GObject *object)
gtk_misc_set_alignment (GTK_MISC (widget), 0.0, 0.5);
gtk_grid_attach (GTK_GRID (container), widget, 0, 0, 1, 1);
gtk_widget_show (widget);
+ g_free (markup);
text = _("_Do not sign meeting requests (for Outlook compatibility)");
widget = gtk_check_button_new_with_mnemonic (text);
@@ -294,6 +295,7 @@ mail_config_security_page_constructed (GObject *object)
gtk_misc_set_alignment (GTK_MISC (widget), 0.0, 0.5);
gtk_grid_attach (GTK_GRID (container), widget, 0, 0, 2, 1);
gtk_widget_show (widget);
+ g_free (markup);
text = _("OpenPGP _Key ID:");
widget = gtk_label_new_with_mnemonic (text);
@@ -413,6 +415,7 @@ mail_config_security_page_constructed (GObject *object)
gtk_misc_set_alignment (GTK_MISC (widget), 0.0, 0.5);
gtk_grid_attach (GTK_GRID (container), widget, 0, 0, 4, 1);
gtk_widget_show (widget);
+ g_free (markup);
text = _("Sig_ning certificate:");
widget = gtk_label_new_with_mnemonic (text);
diff --git a/mail/e-mail-config-sidebar.c b/mail/e-mail-config-sidebar.c
index 91d2dbaf81..8a837cd162 100644
--- a/mail/e-mail-config-sidebar.c
+++ b/mail/e-mail-config-sidebar.c
@@ -104,6 +104,8 @@ mail_config_sidebar_notebook_page_added (GtkNotebook *notebook,
g_hash_table_insert (
sidebar->priv->buttons_to_pages,
g_object_ref (button), g_object_ref (page));
+
+ g_free (tab_label);
}
static void