summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nv30/nv30_vertprog.c
diff options
context:
space:
mode:
authorPatrice Mandin <pmandin@caramail.com>2008-03-30 21:52:36 +0200
committerPatrice Mandin <pmandin@caramail.com>2008-03-30 21:53:31 +0200
commit7b389f8d2f307fa0714494f2a43e9141cc04ed3e (patch)
treee2383b2d188810947eed06d84fe66d659b524cc9 /src/gallium/drivers/nv30/nv30_vertprog.c
parent833b1fb152851ba0d4fa2a5ba4702ee98d9bc217 (diff)
nv30: use FREE macro
Diffstat (limited to 'src/gallium/drivers/nv30/nv30_vertprog.c')
-rw-r--r--src/gallium/drivers/nv30/nv30_vertprog.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gallium/drivers/nv30/nv30_vertprog.c b/src/gallium/drivers/nv30/nv30_vertprog.c
index e9b62ff48b..fe1a467565 100644
--- a/src/gallium/drivers/nv30/nv30_vertprog.c
+++ b/src/gallium/drivers/nv30/nv30_vertprog.c
@@ -578,7 +578,7 @@ nv30_vertprog_translate(struct nv30_context *nv30,
vpc->high_temp = -1;
if (!nv30_vertprog_prepare(vpc)) {
- free(vpc);
+ FREE(vpc);
return;
}
@@ -634,7 +634,7 @@ nv30_vertprog_translate(struct nv30_context *nv30,
vp->translated = TRUE;
out_err:
tgsi_parse_free(&parse);
- free(vpc);
+ FREE(vpc);
}
void
@@ -790,8 +790,8 @@ void
nv30_vertprog_destroy(struct nv30_context *nv30, struct nv30_vertex_program *vp)
{
if (vp->nr_consts)
- free(vp->consts);
+ FREE(vp->consts);
if (vp->nr_insns)
- free(vp->insns);
+ FREE(vp->insns);
}