aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/pcs/calobj.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/pcs/calobj.c')
-rw-r--r--calendar/pcs/calobj.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/calendar/pcs/calobj.c b/calendar/pcs/calobj.c
index 87dd8db78d..fcdfb7e59d 100644
--- a/calendar/pcs/calobj.c
+++ b/calendar/pcs/calobj.c
@@ -13,7 +13,7 @@ ical_object_new (void)
{
iCalObject *ico;
- ico = g_new0 (iCalObject);
+ ico = g_new0 (iCalObject, 1);
ico->seq = -1;
ico->dtstamp = time (NULL);