mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
zink: free modifiers
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31320>
This commit is contained in:
parent
f332128ccf
commit
890e7555d4
1 changed files with 1 additions and 0 deletions
|
|
@ -250,6 +250,7 @@ zink_resource_destroy(struct pipe_screen *pscreen,
|
|||
}
|
||||
/* no need to do anything for the caches, these objects own the resource lifetimes */
|
||||
|
||||
free(res->modifiers);
|
||||
zink_resource_object_reference(screen, &res->obj, NULL);
|
||||
threaded_resource_deinit(pres);
|
||||
FREE_CL(res);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue