summaryrefslogtreecommitdiff
path: root/hw/xfree86/ddc/ddcProperty.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xfree86/ddc/ddcProperty.c')
-rw-r--r--hw/xfree86/ddc/ddcProperty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xfree86/ddc/ddcProperty.c b/hw/xfree86/ddc/ddcProperty.c
index 329a63964..d2d90ba2d 100644
--- a/hw/xfree86/ddc/ddcProperty.c
+++ b/hw/xfree86/ddc/ddcProperty.c
@@ -42,7 +42,7 @@ edidMakeAtom(int i, const char *name, CARD8 *data, int size)
Atom atom;
unsigned char *atom_data;
- if (!(atom_data = xalloc(size*sizeof(CARD8))))
+ if (!(atom_data = malloc(size*sizeof(CARD8))))
return;
atom = MakeAtom(name, strlen(name), TRUE);