summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers/dri/common
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2012-09-01 07:47:24 -0600
committerBrian Paul <brianp@vmware.com>2012-09-01 07:47:24 -0600
commitfe72a069d1fcce943f315907b4744b63158938b1 (patch)
treed0c28a670ee8078c9fd5a624cc4a17fb67b72ad1 /src/gallium/state_trackers/dri/common
parent4fdac659f800da0aa4504489f627738c83c94d66 (diff)
mesa: s/FREE/free/
v2: replace instances in dri/common/ dirs Reviewed-by: Matt Turner <mattst88@gmail.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'src/gallium/state_trackers/dri/common')
-rw-r--r--src/gallium/state_trackers/dri/common/dri_context.c6
-rw-r--r--src/gallium/state_trackers/dri/common/dri_screen.c10
2 files changed, 8 insertions, 8 deletions
diff --git a/src/gallium/state_trackers/dri/common/dri_context.c b/src/gallium/state_trackers/dri/common/dri_context.c
index 040382698b1..b91303d3e7b 100644
--- a/src/gallium/state_trackers/dri/common/dri_context.c
+++ b/src/gallium/state_trackers/dri/common/dri_context.c
@@ -159,7 +159,7 @@ dri_create_context(gl_api api, const struct gl_config * visual,
if (ctx && ctx->st)
ctx->st->destroy(ctx->st);
- FREE(ctx);
+ free(ctx);
return GL_FALSE;
}
@@ -172,7 +172,7 @@ dri_destroy_context(__DRIcontext * cPriv)
* driParseConfigFiles allocated values only - the rest
* is owned by screen optionCache.
*/
- FREE(ctx->optionCache.values);
+ free(ctx->optionCache.values);
/* No particular reason to wait for command completion before
* destroying a context, but we flush the context here
@@ -184,7 +184,7 @@ dri_destroy_context(__DRIcontext * cPriv)
if (ctx->pp) pp_free(ctx->pp);
- FREE(ctx);
+ free(ctx);
}
GLboolean
diff --git a/src/gallium/state_trackers/dri/common/dri_screen.c b/src/gallium/state_trackers/dri/common/dri_screen.c
index 102a1326133..b76cb9a9ee1 100644
--- a/src/gallium/state_trackers/dri/common/dri_screen.c
+++ b/src/gallium/state_trackers/dri/common/dri_screen.c
@@ -355,13 +355,13 @@ dri_destroy_option_cache(struct dri_screen * screen)
if (screen->optionCache.info) {
for (i = 0; i < (1 << screen->optionCache.tableSize); ++i) {
- FREE(screen->optionCache.info[i].name);
- FREE(screen->optionCache.info[i].ranges);
+ free(screen->optionCache.info[i].name);
+ free(screen->optionCache.info[i].ranges);
}
- FREE(screen->optionCache.info);
+ free(screen->optionCache.info);
}
- FREE(screen->optionCache.values);
+ free(screen->optionCache.values);
}
void
@@ -383,7 +383,7 @@ dri_destroy_screen(__DRIscreen * sPriv)
dri_destroy_screen_helper(screen);
- FREE(screen);
+ free(screen);
sPriv->driverPrivate = NULL;
sPriv->extensions = NULL;
}