summaryrefslogtreecommitdiff
path: root/xc/programs/Xserver/hw/xfree86/parser/Layout.c
diff options
context:
space:
mode:
Diffstat (limited to 'xc/programs/Xserver/hw/xfree86/parser/Layout.c')
-rw-r--r--xc/programs/Xserver/hw/xfree86/parser/Layout.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/xc/programs/Xserver/hw/xfree86/parser/Layout.c b/xc/programs/Xserver/hw/xfree86/parser/Layout.c
index 70dd22f57..1f11b34f4 100644
--- a/xc/programs/Xserver/hw/xfree86/parser/Layout.c
+++ b/xc/programs/Xserver/hw/xfree86/parser/Layout.c
@@ -1,4 +1,4 @@
-/* $XFree86: xc/programs/Xserver/hw/xfree86/parser/Layout.c,v 1.11 2000/01/26 02:00:51 alanh Exp $ */
+/* $XFree86: xc/programs/Xserver/hw/xfree86/parser/Layout.c,v 1.12 2000/04/04 22:36:54 dawes Exp $ */
/*
*
* Copyright (c) 1997 Metro Link Incorporated
@@ -85,7 +85,7 @@ parseLayoutSection (void)
{
XF86ConfInactivePtr iptr;
- iptr = xf86confmalloc (sizeof (XF86ConfInactiveRec));
+ iptr = xf86confcalloc (1, sizeof (XF86ConfInactiveRec));
iptr->list.next = NULL;
if (xf86GetToken (NULL) != STRING)
Error (INACTIVE_MSG, NULL);
@@ -98,7 +98,7 @@ parseLayoutSection (void)
{
XF86ConfAdjacencyPtr aptr;
- aptr = xf86confmalloc (sizeof (XF86ConfAdjacencyRec));
+ aptr = xf86confcalloc (1, sizeof (XF86ConfAdjacencyRec));
aptr->list.next = NULL;
aptr->adj_scrnum = -1;
aptr->adj_where = CONF_ADJ_OBSOLETE;
@@ -205,7 +205,7 @@ parseLayoutSection (void)
{
XF86ConfInputrefPtr iptr;
- iptr = xf86confmalloc (sizeof (XF86ConfInputrefRec));
+ iptr = xf86confcalloc (1, sizeof (XF86ConfInputrefRec));
iptr->list.next = NULL;
iptr->iref_option_lst = NULL;
if (xf86GetToken (NULL) != STRING)