[evolution/wip/gsettings] Always initialized all structure members
- From: Rodrigo Moya <rodrigo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/wip/gsettings] Always initialized all structure members
- Date: Wed, 29 Jun 2011 17:44:21 +0000 (UTC)
commit 32a9a11e70445a1e67cf164282f6a8fd5c3da22e
Author: Milan Crha <mcrha redhat com>
Date: Thu May 19 08:53:04 2011 +0200
Always initialized all structure members
mail/mail-folder-cache.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/mail/mail-folder-cache.c b/mail/mail-folder-cache.c
index 5ee3bc5..8885ce4 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]