mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 03:08:05 +02:00
util/u_blitter: fix leak
This commit is contained in:
parent
bc8b8d06b6
commit
b51f6e7c23
1 changed files with 1 additions and 1 deletions
|
|
@ -268,7 +268,7 @@ void util_blitter_destroy(struct blitter_context *blitter)
|
|||
pipe->delete_fs_state(pipe, ctx->fs_texfetch_depth[i]);
|
||||
}
|
||||
|
||||
for (i = 0; i <= PIPE_MAX_COLOR_BUFS && ctx->fs_col[i]; i++)
|
||||
for (i = 0; i <= PIPE_MAX_COLOR_BUFS; i++)
|
||||
if (ctx->fs_col[i])
|
||||
pipe->delete_fs_state(pipe, ctx->fs_col[i]);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue