From: Ilia Mirkin Date: Sun, 24 May 2015 05:31:11 +0000 (-0400) Subject: nv30: don't leak fragprog consts X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=605ce36d7f4a90c4062d6940bea82ab483bbe3b2;p=mesa.git nv30: don't leak fragprog consts Signed-off-by: Ilia Mirkin Cc: "10.5 10.6" --- 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); }