summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorIlia Mirkin <imirkin@alum.mit.edu>2015-05-24 01:31:11 -0400
committerIlia Mirkin <imirkin@alum.mit.edu>2015-05-24 01:33:06 -0400
commit605ce36d7f4a90c4062d6940bea82ab483bbe3b2 (patch)
tree5567eb181eb8c1b39e418bb17dcca04c620bc4a0 /src
parentfa7f9f123b70f313d3c073b52c9c16b4b8df28f8 (diff)
downloadexternal_mesa3d-605ce36d7f4a90c4062d6940bea82ab483bbe3b2.zip
external_mesa3d-605ce36d7f4a90c4062d6940bea82ab483bbe3b2.tar.gz
external_mesa3d-605ce36d7f4a90c4062d6940bea82ab483bbe3b2.tar.bz2
nv30: don't leak fragprog consts
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Cc: "10.5 10.6" <mesa-stable@lists.freedesktop.org>
Diffstat (limited to 'src')
-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 a05bfe1..ee669b1 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);
}