summaryrefslogtreecommitdiffstats
path: root/src/glx/dri_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/glx/dri_common.c')
-rw-r--r--src/glx/dri_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glx/dri_common.c b/src/glx/dri_common.c
index d170aa6f7e2..1bf20ec949d 100644
--- a/src/glx/dri_common.c
+++ b/src/glx/dri_common.c
@@ -340,7 +340,7 @@ createDriMode(const __DRIcoreExtension * core,
if (driConfigs[i] == NULL)
return NULL;
- driConfig = Xmalloc(sizeof *driConfig);
+ driConfig = malloc(sizeof *driConfig);
if (driConfig == NULL)
return NULL;