nv50: fix nv50_program->immd memory leak
This commit is contained in:
committed by
Christoph Bumiller
parent
7472cd0f1f
commit
9fb9c9f9ca
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user