Module: Mesa Branch: master Commit: 9fb9c9f9ca27fbdb90fc0a7a01bdff64d32c05bb URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9fb9c9f9ca27fbdb90fc0a7a01bdff64d32c05bb
Author: Marcin Slusarz <[email protected]> Date: Mon Jan 18 16:12:38 2010 +0100 nv50: fix nv50_program->immd memory leak --- src/gallium/drivers/nv50/nv50_program.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/gallium/drivers/nv50/nv50_program.c b/src/gallium/drivers/nv50/nv50_program.c index 4111d21..22fa6e6 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; _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
