summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/util/register_allocate.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/util/register_allocate.c b/src/util/register_allocate.c
index 129d58d2292..436e008b01a 100644
--- a/src/util/register_allocate.c
+++ b/src/util/register_allocate.c
@@ -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