aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv40/nv40_vertprog.c
diff options
context:
space:
mode:
authorBen Skeggs <[email protected]>2008-03-21 22:01:22 +1100
committerBen Skeggs <[email protected]>2008-03-21 22:01:22 +1100
commit46b8dd9c16755e97ae547c0a1823e338f7a7c791 (patch)
treea2cea30134d3bfde1604381c8c7a0f907621e89a /src/gallium/drivers/nv40/nv40_vertprog.c
parent32162871396f65e8afdd90c602b1ccd01233c2e2 (diff)
nv40: s/free/FREE/
Diffstat (limited to 'src/gallium/drivers/nv40/nv40_vertprog.c')
-rw-r--r--src/gallium/drivers/nv40/nv40_vertprog.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gallium/drivers/nv40/nv40_vertprog.c b/src/gallium/drivers/nv40/nv40_vertprog.c
index 9f1ee575ce9..385c8aa0780 100644
--- a/src/gallium/drivers/nv40/nv40_vertprog.c
+++ b/src/gallium/drivers/nv40/nv40_vertprog.c
@@ -572,7 +572,7 @@ nv40_vertprog_translate(struct nv40_context *nv40,
vpc->high_temp = -1;
if (!nv40_vertprog_prepare(vpc)) {
- free(vpc);
+ FREE(vpc);
return;
}
@@ -628,7 +628,7 @@ nv40_vertprog_translate(struct nv40_context *nv40,
vp->translated = TRUE;
out_err:
tgsi_parse_free(&parse);
- free(vpc);
+ FREE(vpc);
}
static boolean
@@ -805,9 +805,9 @@ void
nv40_vertprog_destroy(struct nv40_context *nv40, struct nv40_vertex_program *vp)
{
if (vp->nr_consts)
- free(vp->consts);
+ FREE(vp->consts);
if (vp->nr_insns)
- free(vp->insns);
+ FREE(vp->insns);
}
struct nv40_state_entry nv40_state_vertprog = {