summaryrefslogtreecommitdiff
path: root/dix/main.c
diff options
context:
space:
mode:
authorDeron Johnson <deron.johnson@sun.com>2005-01-06 04:14:03 +0000
committerDeron Johnson <deron.johnson@sun.com>2005-01-06 04:14:03 +0000
commita40112588f7aef30c78de2c1aa02b7e1f4ffaef8 (patch)
treec43b85a0b9f0f4e3f14f9f3d5b92eb6e21bf6c17 /dix/main.c
parentb17cfa150080f315e1b40c9926e4e30c4fdfd02c (diff)
Integrate updates from Xorg 6.8.2 RC2.lg3d-dev-0-6-1
VS: ----------------------------------------------------------------------
Diffstat (limited to 'dix/main.c')
-rw-r--r--dix/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dix/main.c b/dix/main.c
index 2a930d9dc..33c18bbe7 100644
--- a/dix/main.c
+++ b/dix/main.c
@@ -1,4 +1,4 @@
-/* $XdotOrg: xc/programs/Xserver/dix/main.c,v 1.2 2004/04/23 19:04:44 eich Exp $ */
+/* $XdotOrg: xc/programs/Xserver/dix/main.c,v 1.3.4.1 2004/12/08 06:02:34 gisburn Exp $ */
/* $XFree86: xc/programs/Xserver/dix/main.c,v 3.43 2003/10/30 21:21:02 herrb Exp $ */
/***********************************************************
@@ -689,7 +689,7 @@ AddScreen(
if (i == MAXSCREENS)
return -1;
- pScreen = (ScreenPtr) xalloc(sizeof(ScreenRec));
+ pScreen = (ScreenPtr) xcalloc(1, sizeof(ScreenRec));
if (!pScreen)
return -1;