diff options
author | Antoine Labour <[email protected]> | 2012-05-24 18:08:27 -0700 |
---|---|---|
committer | Stéphane Marchesin <[email protected]> | 2012-06-12 14:42:22 -0700 |
commit | 53feb8ecdc74502c940a749b9ce89e68625c69a5 (patch) | |
tree | 0aac3d95182843f3b0d591b420b6c9f8d9b82e8d /src/mesa/program/hash_table.c | |
parent | 0256edd709d976198d5354fdd88143d8da9e51d5 (diff) |
meta: Cleanup the resources we allocate.
When we have multiple shared contexts, and one of them is
long-running, this will lead to never freeing those resources
since they are shared. Instead, free them right away on context
destruction since we know the other context isn't using them.
Reviewed-by: Ian Romanick <[email protected]>
NOTE: This is a candidate for the 8.0 branch.
Diffstat (limited to 'src/mesa/program/hash_table.c')
0 files changed, 0 insertions, 0 deletions