nv50: fix nv50_program->immd memory leak

This commit is contained in:
Marcin Slusarz 2010-01-18 16:12:38 +01:00 committed by Christoph Bumiller
parent 7472cd0f1f
commit 9fb9c9f9ca

View file

@ -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;