[evolution] itip_send_comp_sync: Initialize all members of a stack allocated structure
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] itip_send_comp_sync: Initialize all members of a stack allocated structure
- Date: Thu, 26 Feb 2015 07:40:44 +0000 (UTC)
commit 679d4e9e2a2e55ecb09e25ec667ce8bcf8c6ce23
Author: Milan Crha <mcrha redhat com>
Date: Thu Feb 26 08:40:05 2015 +0100
itip_send_comp_sync: Initialize all members of a stack allocated structure
calendar/gui/itip-utils.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/calendar/gui/itip-utils.c b/calendar/gui/itip-utils.c
index 91ff5b0..a043bd4 100644
--- a/calendar/gui/itip-utils.c
+++ b/calendar/gui/itip-utils.c
@@ -1982,6 +1982,8 @@ itip_send_comp_sync (ESourceRegistry *registry,
{
ItipSendComponentData isc;
+ memset (&isc, 0, sizeof (ItipSendComponentData));
+
isc.registry = registry;
isc.method = method;
isc.send_comp = send_comp;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]