aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-format-html.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2003-11-13 13:23:29 +0800
committerMichael Zucci <zucchi@src.gnome.org>2003-11-13 13:23:29 +0800
commit35b15cb0516407c8ab0bd3ba403e04dffaaef0a1 (patch)
tree8fad8c0292aadfc69d89cd3f7f0e203524ff9fa6 /mail/em-format-html.c
parent8e302d84a481b9788ca071f824af598176e78df8 (diff)
downloadgsoc2013-evolution-35b15cb0516407c8ab0bd3ba403e04dffaaef0a1.tar
gsoc2013-evolution-35b15cb0516407c8ab0bd3ba403e04dffaaef0a1.tar.gz
gsoc2013-evolution-35b15cb0516407c8ab0bd3ba403e04dffaaef0a1.tar.bz2
gsoc2013-evolution-35b15cb0516407c8ab0bd3ba403e04dffaaef0a1.tar.lz
gsoc2013-evolution-35b15cb0516407c8ab0bd3ba403e04dffaaef0a1.tar.xz
gsoc2013-evolution-35b15cb0516407c8ab0bd3ba403e04dffaaef0a1.tar.zst
gsoc2013-evolution-35b15cb0516407c8ab0bd3ba403e04dffaaef0a1.zip
use malloc0 for the pobject memory.
2003-11-13 Not Zed <NotZed@Ximian.com> * em-format-html.c (em_format_html_add_pobject): use malloc0 for the pobject memory. svn path=/trunk/; revision=23313
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 {