nv30: don't leak fragprog consts
authorIlia Mirkin <imirkin@alum.mit.edu>
Sun, 24 May 2015 05:31:11 +0000 (01:31 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Sun, 24 May 2015 05:33:06 +0000 (01:33 -0400)
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: "10.5 10.6" <mesa-stable@lists.freedesktop.org>
src/gallium/drivers/nouveau/nv30/nv30_fragprog.c

index a05bfe10ee9ab9b1e1be45a826481fee43442c93..ee669b1c1fce54c6a4398600bf5d72237dd52dcf 100644 (file)
@@ -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);
 }