summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv40/nv40_fragprog.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/nv40/nv40_fragprog.c')
-rw-r--r--src/gallium/drivers/nv40/nv40_fragprog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/nv40/nv40_fragprog.c b/src/gallium/drivers/nv40/nv40_fragprog.c
index 33aac37d569..2d82f86ef5c 100644
--- a/src/gallium/drivers/nv40/nv40_fragprog.c
+++ b/src/gallium/drivers/nv40/nv40_fragprog.c
@@ -801,7 +801,7 @@ nv40_fragprog_translate(struct nv40_context *nv40,
fp->translated = TRUE;
out_err:
tgsi_parse_free(&parse);
- free(fpc);
+ FREE(fpc);
}
static void
@@ -903,7 +903,7 @@ nv40_fragprog_destroy(struct nv40_context *nv40,
struct nv40_fragment_program *fp)
{
if (fp->insn_len)
- free(fp->insn);
+ FREE(fp->insn);
}
struct nv40_state_entry nv40_state_fragprog = {