* [mesa PATCH] nv50: fix nv50_program->immd memory leak
@ 2010-01-17 22:50 Marcin Slusarz
[not found] ` <20100117225016.GD14113-OI9uyE9O0yo@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Marcin Slusarz @ 2010-01-17 22:50 UTC (permalink / raw)
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
---
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [mesa PATCH] nv50: fix nv50_program->immd memory leak
[not found] ` <20100117225016.GD14113-OI9uyE9O0yo@public.gmane.org>
@ 2010-01-18 18:56 ` Christoph Bumiller
0 siblings, 0 replies; 2+ messages in thread
From: Christoph Bumiller @ 2010-01-18 18:56 UTC (permalink / raw)
To: Marcin Slusarz; +Cc: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-01-18 18:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-17 22:50 [mesa PATCH] nv50: fix nv50_program->immd memory leak Marcin Slusarz
[not found] ` <20100117225016.GD14113-OI9uyE9O0yo@public.gmane.org>
2010-01-18 18:56 ` Christoph Bumiller
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.