mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 09:18:04 +02:00
r600g: Cleanup block bo references in r600_context_fini().
This commit is contained in:
parent
c0c929cdac
commit
308cfb80f5
1 changed files with 3 additions and 0 deletions
|
|
@ -618,6 +618,9 @@ void r600_context_fini(struct r600_context *ctx)
|
|||
range = &ctx->range[CTX_RANGE_ID(ctx, offset)];
|
||||
range->blocks[CTX_BLOCK_ID(ctx, offset)] = NULL;
|
||||
}
|
||||
for (int k = 1; k <= block->nbo; k++) {
|
||||
r600_bo_reference(ctx->radeon, &block->reloc[k].bo, NULL);
|
||||
}
|
||||
free(block);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue