From 35b15cb0516407c8ab0bd3ba403e04dffaaef0a1 Mon Sep 17 00:00:00 2001 From: Not Zed Date: Thu, 13 Nov 2003 05:23:29 +0000 Subject: use malloc0 for the pobject memory. 2003-11-13 Not Zed * em-format-html.c (em_format_html_add_pobject): use malloc0 for the pobject memory. svn path=/trunk/; revision=23313 --- mail/em-format-html.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mail/em-format-html.c') 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 { -- cgit v1.2.3