From 605ce36d7f4a90c4062d6940bea82ab483bbe3b2 Mon Sep 17 00:00:00 2001 From: Ilia Mirkin Date: Sun, 24 May 2015 01:31:11 -0400 Subject: [PATCH] nv30: don't leak fragprog consts Signed-off-by: Ilia Mirkin Cc: "10.5 10.6" --- 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 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); } -- 2.30.2