diff options
author | Ilia Mirkin <imirkin@alum.mit.edu> | 2015-05-24 01:31:11 -0400 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2015-06-03 11:51:37 +0100 |
commit | e692b6428cdeac5a16c5a5d7c3326e7550116970 (patch) | |
tree | e3a29c1ae3b34b7689afadb6e6a39ac5ac5790aa | |
parent | 7d76e8905321f884a9bf58d818e4c6852c3c0832 (diff) |
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>
(cherry picked from commit 605ce36d7f4a90c4062d6940bea82ab483bbe3b2)
-rw-r--r-- | src/gallium/drivers/nouveau/nv30/nv30_fragprog.c | 1 |
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 a05bfe10ee..ee669b1c1f 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); } |