mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-01 20:30:12 +01:00
nv50: fix symbol table memory leak
This commit is contained in:
parent
2f18698220
commit
cfa7cb991c
1 changed files with 3 additions and 0 deletions
|
|
@ -343,6 +343,9 @@ nv50_program_translate(struct nv50_program *prog, uint16_t chipset)
|
|||
NOUVEAU_ERR("shader translation failed: %i\n", ret);
|
||||
goto out;
|
||||
}
|
||||
if (info->bin.syms) /* we don't need them yet */
|
||||
FREE(info->bin.syms);
|
||||
|
||||
prog->code = info->bin.code;
|
||||
prog->code_size = info->bin.codeSize;
|
||||
prog->fixups = info->bin.relocData;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue