diff options
-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? */ |