ra: Delete the conflict lists in ra_set_finalize

They are never used after the set is finalized so there's no reason to keep
them around.

Reviewed-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
Jason Ekstrand
2015-07-30 20:53:04 -07:00
parent 7539ac7fe2
commit bdcc8f3230
+5
View File
@@ -348,6 +348,11 @@ ra_set_finalize(struct ra_regs *regs, unsigned int **q_values)
}
}
}
for (b = 0; b < regs->count; b++) {
ralloc_free(regs->regs[b].conflict_list);
regs->regs[b].conflict_list = NULL;
}
}
static void