aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-format-html.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/em-format-html.c')
-rw-r--r--mail/em-format-html.c2
1 files changed, 1 insertions, 1 deletions
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 {