diff options
author | Marcin Slusarz <[email protected]> | 2010-01-18 16:12:38 +0100 |
---|---|---|
committer | Christoph Bumiller <[email protected]> | 2010-01-18 19:53:29 +0100 |
commit | 9fb9c9f9ca27fbdb90fc0a7a01bdff64d32c05bb (patch) | |
tree | 0c3436ce56f5cdcb0d629960bb271cf6566eee23 /src/gallium/drivers/nv50/nv50_program.c | |
parent | 7472cd0f1f0f8284729274bc5c453d59d9ab4b55 (diff) |
nv50: fix nv50_program->immd memory leak
Diffstat (limited to 'src/gallium/drivers/nv50/nv50_program.c')
-rw-r--r-- | 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 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; |