Mesa (master): nv30: don't leak fragprog consts
Ilia Mirkin
imirkin at kemper.freedesktop.org
Sun May 24 05:35:56 UTC 2015
Module: Mesa
Branch: master
Commit: 605ce36d7f4a90c4062d6940bea82ab483bbe3b2
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=605ce36d7f4a90c4062d6940bea82ab483bbe3b2
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date: Sun May 24 01:31:11 2015 -0400
nv30: don't leak fragprog consts
Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
Cc: "10.5 10.6" <mesa-stable at lists.freedesktop.org>
---
src/gallium/drivers/nouveau/nv30/nv30_fragprog.c | 1 +
1 file changed, 1 insertion(+)
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);
}
More information about the mesa-commit
mailing list