From: Marcin Slusarz Date: Mon, 18 Jan 2010 15:12:38 +0000 (+0100) Subject: nv50: fix nv50_program->immd memory leak X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9fb9c9f9ca27fbdb90fc0a7a01bdff64d32c05bb;p=mesa.git nv50: fix nv50_program->immd memory leak --- diff --git a/src/gallium/drivers/nv50/nv50_program.c b/src/gallium/drivers/nv50/nv50_program.c index 4111d212e69..22fa6e6ae42 100644 --- a/src/gallium/drivers/nv50/nv50_program.c +++ b/src/gallium/drivers/nv50/nv50_program.c @@ -4659,6 +4659,7 @@ nv50_program_destroy(struct nv50_context *nv50, struct nv50_program *p) nouveau_bo_ref(NULL, &p->bo); + FREE(p->immd); nouveau_resource_free(&p->data[0]); p->translated = 0;