summaryrefslogtreecommitdiffstats
path: root/src/mesa/es
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/es')
-rw-r--r--src/mesa/es/main/specials_es1.c2
-rw-r--r--src/mesa/es/main/specials_es2.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/es/main/specials_es1.c b/src/mesa/es/main/specials_es1.c
index a4f14490f31..c842007c22e 100644
--- a/src/mesa/es/main/specials_es1.c
+++ b/src/mesa/es/main/specials_es1.c
@@ -167,7 +167,7 @@ compute_es_extensions(void)
unsigned int len;
len = make_extension_string(ctx, NULL);
- s = (char *) _mesa_malloc(len + 1);
+ s = (char *) malloc(len + 1);
if (!s)
return NULL;
make_extension_string(ctx, s);
diff --git a/src/mesa/es/main/specials_es2.c b/src/mesa/es/main/specials_es2.c
index e11ade9b948..10b4f25e0f0 100644
--- a/src/mesa/es/main/specials_es2.c
+++ b/src/mesa/es/main/specials_es2.c
@@ -138,7 +138,7 @@ compute_es_extensions(void)
unsigned int len;
len = make_extension_string(ctx, NULL);
- s = (char *) _mesa_malloc(len + 1);
+ s = (char *) malloc(len + 1);
if (!s)
return NULL;
make_extension_string(ctx, s);