From d07ed0c9c9a90c8a2936d12f9a83696f24e0aaac Mon Sep 17 00:00:00 2001 From: Urja Rannikko Date: Fri, 6 Dec 2019 02:47:50 +0000 Subject: [PATCH] panfrost: free spill cost table in mir_spill_register Signed-off-by: Urja Rannikko Reviewed-by: Alyssa Rosenzweig --- src/panfrost/midgard/midgard_schedule.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/panfrost/midgard/midgard_schedule.c b/src/panfrost/midgard/midgard_schedule.c index dcf3764d688..d05bdf79d47 100644 --- a/src/panfrost/midgard/midgard_schedule.c +++ b/src/panfrost/midgard/midgard_schedule.c @@ -1392,6 +1392,8 @@ static void mir_spill_register( mir_foreach_instr_global(ctx, ins) { ins->hint = false; } + + free(cost); } void -- 2.30.2