diff options
author | Urja Rannikko <[email protected]> | 2019-12-04 14:20:48 +0000 |
---|---|---|
committer | Alyssa Rosenzweig <[email protected]> | 2019-12-06 15:26:13 +0000 |
commit | e2dbea683c8f25b9a844ae058a6ae8d5020553c4 (patch) | |
tree | 2c17d7ab729082a14a65a0b54c5f0b876783ba74 /src/panfrost | |
parent | adf716dc7f17afd841feb86de45dd6bf91678333 (diff) |
panfrost: free last_read/write tables in mir_create_dependency_graph
Signed-off-by: Urja Rannikko <[email protected]>
Reviewed-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/panfrost')
-rw-r--r-- | src/panfrost/midgard/midgard_schedule.c | 3 |
1 files changed, 3 insertions, 0 deletions
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? */ |