nv50: fix nv50_stream_output_state leak
This commit is contained in:
parent
cfa7cb991c
commit
3232a86efe
1 changed files with 3 additions and 0 deletions
|
|
@ -427,6 +427,9 @@ nv50_program_destroy(struct nv50_context *nv50, struct nv50_program *p)
|
|||
if (p->fixups)
|
||||
FREE(p->fixups);
|
||||
|
||||
if (p->so)
|
||||
FREE(p->so);
|
||||
|
||||
memset(p, 0, sizeof(*p));
|
||||
|
||||
p->pipe = pipe;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue