From: Urja Rannikko Date: Fri, 6 Dec 2019 02:47:50 +0000 (+0000) Subject: panfrost: free spill cost table in mir_spill_register X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d07ed0c9c9a90c8a2936d12f9a83696f24e0aaac;p=mesa.git panfrost: free spill cost table in mir_spill_register Signed-off-by: Urja Rannikko Reviewed-by: Alyssa Rosenzweig --- 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