[Nouveau] [mesa PATCH] nv50: fix nv50_program->immd memory leak
Christoph Bumiller
e0425955 at student.tuwien.ac.at
Mon Jan 18 10:56:23 PST 2010
On 17.01.2010 23:50, Marcin Slusarz wrote:
> ---
> 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);
>
>
Pushed.
More information about the Nouveau
mailing list