mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 06:48:06 +02:00
nv50: valgrind complaint
This commit is contained in:
parent
027ed25c12
commit
619549a637
1 changed files with 4 additions and 2 deletions
|
|
@ -146,8 +146,10 @@ static void
|
|||
free_temp(struct nv50_pc *pc, struct nv50_reg *r)
|
||||
{
|
||||
if (r->index == -1) {
|
||||
FREE(pc->r_temp[r->hw]);
|
||||
pc->r_temp[r->hw] = NULL;
|
||||
unsigned hw = r->hw;
|
||||
|
||||
FREE(pc->r_temp[hw]);
|
||||
pc->r_temp[hw] = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue