summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorIlia Mirkin <[email protected]>2015-05-24 01:31:11 -0400
committerIlia Mirkin <[email protected]>2015-05-24 01:33:06 -0400
commit605ce36d7f4a90c4062d6940bea82ab483bbe3b2 (patch)
tree5567eb181eb8c1b39e418bb17dcca04c620bc4a0 /src/gallium/drivers
parentfa7f9f123b70f313d3c073b52c9c16b4b8df28f8 (diff)
nv30: don't leak fragprog consts
Signed-off-by: Ilia Mirkin <[email protected]> Cc: "10.5 10.6" <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/nouveau/nv30/nv30_fragprog.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/nouveau/nv30/nv30_fragprog.c b/src/gallium/drivers/nouveau/nv30/nv30_fragprog.c
index a05bfe10ee9..ee669b1c1fc 100644
--- a/src/gallium/drivers/nouveau/nv30/nv30_fragprog.c
+++ b/src/gallium/drivers/nouveau/nv30/nv30_fragprog.c
@@ -149,6 +149,7 @@ nv30_fp_state_delete(struct pipe_context *pipe, void *hwcso)
FREE((void *)fp->pipe.tokens);
FREE(fp->insn);
+ FREE(fp->consts);
FREE(fp);
}