summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv30/nv30_fragprog.c
diff options
context:
space:
mode:
authorPatrice Mandin <[email protected]>2008-03-30 21:52:36 +0200
committerPatrice Mandin <[email protected]>2008-03-30 21:53:31 +0200
commit7b389f8d2f307fa0714494f2a43e9141cc04ed3e (patch)
treee2383b2d188810947eed06d84fe66d659b524cc9 /src/gallium/drivers/nv30/nv30_fragprog.c
parent833b1fb152851ba0d4fa2a5ba4702ee98d9bc217 (diff)
nv30: use FREE macro
Diffstat (limited to 'src/gallium/drivers/nv30/nv30_fragprog.c')
-rw-r--r--src/gallium/drivers/nv30/nv30_fragprog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/nv30/nv30_fragprog.c b/src/gallium/drivers/nv30/nv30_fragprog.c
index 6f61d36f4e8..51000bd6fcd 100644
--- a/src/gallium/drivers/nv30/nv30_fragprog.c
+++ b/src/gallium/drivers/nv30/nv30_fragprog.c
@@ -753,7 +753,7 @@ nv30_fragprog_translate(struct nv30_context *nv30,
fp->on_hw = FALSE;
out_err:
tgsi_parse_free(&parse);
- free(fpc);
+ FREE(fpc);
}
void
@@ -829,6 +829,6 @@ nv30_fragprog_destroy(struct nv30_context *nv30,
struct nv30_fragment_program *fp)
{
if (fp->insn_len)
- free(fp->insn);
+ FREE(fp->insn);
}