panfrost: free last_read/write tables in mir_create_dependency_graph

Signed-off-by: Urja Rannikko <urjaman@gmail.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
This commit is contained in:
Urja Rannikko 2019-12-04 14:20:48 +00:00 committed by Alyssa Rosenzweig
parent adf716dc7f
commit e2dbea683c
1 changed files with 3 additions and 0 deletions

View File

@ -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? */