aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/vega/shaders_cache.c
diff options
context:
space:
mode:
authornobled <[email protected]>2010-06-30 14:24:13 +0800
committerChia-I Wu <[email protected]>2010-06-30 14:25:43 +0800
commitf914cd1796845164109c837a111c39ba64852ad4 (patch)
treea59fe893134d66775ff42a3b5e6a61250b2657dd /src/gallium/state_trackers/vega/shaders_cache.c
parent78215b02e4b4b12d68ee7eecab7c9dff21494bf5 (diff)
st/vega: s/free/FREE for matching MALLOC/CALLOC
[Manually fix a conflict in vg_context.c by Chia-I Wu]
Diffstat (limited to 'src/gallium/state_trackers/vega/shaders_cache.c')
-rw-r--r--src/gallium/state_trackers/vega/shaders_cache.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/state_trackers/vega/shaders_cache.c b/src/gallium/state_trackers/vega/shaders_cache.c
index f43fe6ee4cb..b907a609b3c 100644
--- a/src/gallium/state_trackers/vega/shaders_cache.c
+++ b/src/gallium/state_trackers/vega/shaders_cache.c
@@ -381,7 +381,7 @@ void shaders_cache_destroy(struct shaders_cache *sc)
}
cso_hash_delete(sc->hash);
- free(sc);
+ FREE(sc);
}
void * shaders_cache_fill(struct shaders_cache *sc,
@@ -435,6 +435,6 @@ void vg_shader_destroy(struct vg_context *ctx, struct vg_shader *shader)
cso_delete_fragment_shader(ctx->cso_context, shader->driver);
else
cso_delete_vertex_shader(ctx->cso_context, shader->driver);
- free(shader->tokens);
- free(shader);
+ FREE(shader->tokens);
+ FREE(shader);
}