mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
zink: bs->dd.push_pool[1].pool should be freed
cc: mesa-stable Signed-off-by: xurui <xurui@kylinos.cn> Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22389>
This commit is contained in:
parent
f9401a515a
commit
0bba139767
1 changed files with 1 additions and 1 deletions
|
|
@ -1456,7 +1456,7 @@ zink_batch_descriptor_deinit(struct zink_screen *screen, struct zink_batch_state
|
|||
util_dynarray_fini(&bs->dd.pools[i]);
|
||||
}
|
||||
for (unsigned i = 0; i < 2; i++) {
|
||||
if (bs->dd.push_pool[0].pool)
|
||||
if (bs->dd.push_pool[i].pool)
|
||||
pool_destroy(screen, bs->dd.push_pool[i].pool);
|
||||
deinit_multi_pool_overflow(screen, &bs->dd.push_pool[i]);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue