From 0c790b10190c2cff5fdb7cc1b25dc2a41dedd707 Mon Sep 17 00:00:00 2001
From: Milan Crha <mcrha@redhat.com>
Date: Thu, 19 May 2011 08:53:04 +0200
Subject: Always initialized all structure members

---
 mail/mail-folder-cache.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mail/mail-folder-cache.c b/mail/mail-folder-cache.c
index 5ee3bc596d..8885ce47be 100644
--- a/mail/mail-folder-cache.c
+++ b/mail/mail-folder-cache.c
@@ -1134,7 +1134,7 @@ mail_folder_cache_note_store (MailFolderCache *self,
 		hook = TRUE;
 	}
 
-	ud = g_malloc (sizeof (*ud));
+	ud = g_malloc0 (sizeof (*ud));
 	ud->done = done;
 	ud->data = data;
 	ud->cache = self;
-- 
cgit v1.2.3