diff options
author | Ilia Mirkin <imirkin@alum.mit.edu> | 2015-05-24 01:31:11 -0400 |
---|---|---|
committer | Ilia Mirkin <imirkin@alum.mit.edu> | 2015-05-24 01:33:06 -0400 |
commit | 605ce36d7f4a90c4062d6940bea82ab483bbe3b2 (patch) | |
tree | 5567eb181eb8c1b39e418bb17dcca04c620bc4a0 /src | |
parent | fa7f9f123b70f313d3c073b52c9c16b4b8df28f8 (diff) | |
download | external_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.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 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); } |