Bug #708349 - Memory leaks around mail config

This commit is contained in:
Milan Crha
2013-09-23 17:43:18 +02:00
parent 1331699f4f
commit bfc448800c
3 changed files with 6 additions and 0 deletions

View File

@ -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);

View File

@ -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);

View File

@ -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