From: Urja Rannikko Date: Wed, 4 Dec 2019 14:20:48 +0000 (+0000) Subject: panfrost: free last_read/write tables in mir_create_dependency_graph X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e2dbea683c8f25b9a844ae058a6ae8d5020553c4;p=mesa.git panfrost: free last_read/write tables in mir_create_dependency_graph 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 addd65306d6..b2f90e38822 100644 --- a/src/panfrost/midgard/midgard_schedule.c +++ b/src/panfrost/midgard/midgard_schedule.c @@ -165,6 +165,9 @@ mir_create_dependency_graph(midgard_instruction **instructions, unsigned count, util_dynarray_fini(&last_read[i]); util_dynarray_fini(&last_write[i]); } + + free(last_read); + free(last_write); } /* Does the mask cover more than a scalar? */