diff options
author | Milan Crha <mcrha@redhat.com> | 2009-12-15 18:12:41 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2009-12-15 18:12:41 +0800 |
commit | 859c8b5a8fae36bdb615f35f792c8256d4c8f97e (patch) | |
tree | 020d25459a72882a3406d3f4f28641e72e9ceda9 /mail | |
parent | c0c247128c71653e38c6a5de900a069e13a53d8e (diff) | |
download | gsoc2013-evolution-859c8b5a8fae36bdb615f35f792c8256d4c8f97e.tar.gz gsoc2013-evolution-859c8b5a8fae36bdb615f35f792c8256d4c8f97e.tar.zst gsoc2013-evolution-859c8b5a8fae36bdb615f35f792c8256d4c8f97e.zip |
Bug #603342 - Memory leak fixes
Diffstat (limited to 'mail')
-rw-r--r-- | mail/em-format-html-display.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/em-format-html-display.c b/mail/em-format-html-display.c index f2f001e23a..95197077f6 100644 --- a/mail/em-format-html-display.c +++ b/mail/em-format-html-display.c @@ -193,7 +193,7 @@ efhd_xpkcs7mime_viewcert_clicked (GtkWidget *button, ECert *ec = NULL; if (info->cert_data) - ec = e_cert_new (info->cert_data); + ec = e_cert_new (CERT_DupCertificate (info->cert_data)); if (ec != NULL) { GtkWidget *w = certificate_viewer_show(ec); @@ -251,7 +251,7 @@ efhd_xpkcs7mime_add_cert_table (GtkWidget *vbox, g_signal_connect(w, "clicked", G_CALLBACK(efhd_xpkcs7mime_viewcert_clicked), po); if (info->cert_data) - ec = e_cert_new (info->cert_data); + ec = e_cert_new (CERT_DupCertificate (info->cert_data)); if (ec == NULL) gtk_widget_set_sensitive(w, FALSE); |