mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 23:50:11 +01:00
vc4: Fix memory leaks in register allocation.
This commit is contained in:
parent
ad02ba42f0
commit
3c6d85e725
1 changed files with 3 additions and 0 deletions
|
|
@ -153,5 +153,8 @@ vc4_register_allocate(struct vc4_compile *c)
|
|||
}
|
||||
}
|
||||
|
||||
free(reg_allocated);
|
||||
free(reg_uses_remaining);
|
||||
|
||||
return temp_registers;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue