summaryrefslogtreecommitdiff
path: root/glx/glxdricommon.c
diff options
context:
space:
mode:
Diffstat (limited to 'glx/glxdricommon.c')
-rw-r--r--glx/glxdricommon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/glx/glxdricommon.c b/glx/glxdricommon.c
index 454aa5587..86797a0ef 100644
--- a/glx/glxdricommon.c
+++ b/glx/glxdricommon.c
@@ -127,7 +127,7 @@ createModeFromConfig(const __DRIcoreExtension *core,
unsigned int attrib, value;
int i;
- config = xalloc(sizeof *config);
+ config = malloc(sizeof *config);
config->driConfig = driConfig;