[Nouveau] [mesa PATCH] nv50: fix nv50_program->immd memory leak
Marcin Slusarz
marcin.slusarz at gmail.com
Sun Jan 17 14:50:16 PST 2010
---
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..cfe8b48 100644
--- a/src/gallium/drivers/nv50/nv50_program.c
+++ b/src/gallium/drivers/nv50/nv50_program.c
@@ -4656,6 +4656,7 @@ nv50_program_destroy(struct nv50_context *nv50, struct nv50_program *p)
}
p->exec_tail = NULL;
p->exec_size = 0;
+ FREE(p->immd);
nouveau_bo_ref(NULL, &p->bo);
--
1.6.6
More information about the Nouveau
mailing list