aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/em-format-html-display.c2
-rw-r--r--mail/em-format-html.c2
3 files changed, 6 insertions, 3 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 63f74f3f8b..f16d1d6f1a 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,8 @@
+2003-11-13 Not Zed <NotZed@Ximian.com>
+
+ * em-format-html.c (em_format_html_add_pobject): use malloc0 for
+ the pobject memory.
+
2003-11-12 Not Zed <NotZed@Ximian.com>
* mail-account-gui.c (smime_sign_key_select)
diff --git a/mail/em-format-html-display.c b/mail/em-format-html-display.c
index 1b36fbbdb0..779e70a69a 100644
--- a/mail/em-format-html-display.c
+++ b/mail/em-format-html-display.c
@@ -614,8 +614,6 @@ efhd_xpkcs7mime_validity_clicked(GtkWidget *button, EMFormatHTMLPObject *pobject
GladeXML *xml;
GtkWidget *vbox, *w;
- printf("validity clicked\n");
-
if (po->widget)
/* FIXME: window raise? */
return;
diff --git a/mail/em-format-html.c b/mail/em-format-html.c
index 3c8fd56aa0..507a48c8bb 100644
--- a/mail/em-format-html.c
+++ b/mail/em-format-html.c
@@ -321,7 +321,7 @@ em_format_html_add_pobject(EMFormatHTML *efh, size_t size, const char *classid,
g_assert(size >= sizeof(EMFormatHTMLPObject));
- pobj = g_malloc(size);
+ pobj = g_malloc0(size);
if (classid) {
pobj->classid = g_strdup(classid);
} else {