summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv30/nv30_fragprog.c
diff options
context:
space:
mode:
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);
}