diff options
author | Patrice Mandin <[email protected]> | 2008-03-30 21:52:36 +0200 |
---|---|---|
committer | Patrice Mandin <[email protected]> | 2008-03-30 21:53:31 +0200 |
commit | 7b389f8d2f307fa0714494f2a43e9141cc04ed3e (patch) | |
tree | e2383b2d188810947eed06d84fe66d659b524cc9 /src/gallium/drivers/nv30/nv30_vertprog.c | |
parent | 833b1fb152851ba0d4fa2a5ba4702ee98d9bc217 (diff) |
nv30: use FREE macro
Diffstat (limited to 'src/gallium/drivers/nv30/nv30_vertprog.c')
-rw-r--r-- | src/gallium/drivers/nv30/nv30_vertprog.c | 8 |
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 e9b62ff48b4..fe1a467565d 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); } |