summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/util/register_allocate.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util/register_allocate.c b/src/util/register_allocate.c
index b06a61f24a3..de8978bb93e 100644
--- a/src/util/register_allocate.c
+++ b/src/util/register_allocate.c
@@ -672,6 +672,8 @@ ra_select(struct ra_graph *g)
start_search_reg = r + 1;
}
+ free(select_regs);
+
return true;
}