summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorIlia Mirkin <[email protected]>2015-05-24 01:31:11 -0400
committerEmil Velikov <[email protected]>2015-06-03 11:51:37 +0100
commite692b6428cdeac5a16c5a5d7c3326e7550116970 (patch)
treee3a29c1ae3b34b7689afadb6e6a39ac5ac5790aa /src
parent7d76e8905321f884a9bf58d818e4c6852c3c0832 (diff)
nv30: don't leak fragprog consts
Signed-off-by: Ilia Mirkin <[email protected]> Cc: "10.5 10.6" <[email protected]> (cherry picked from commit 605ce36d7f4a90c4062d6940bea82ab483bbe3b2)
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 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);
}