mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 11:20:20 +01:00
r600g: Fixed two memory leaks in winsys.
Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de>
This commit is contained in:
parent
ecb1b8b98f
commit
907efeea18
1 changed files with 2 additions and 0 deletions
|
|
@ -611,7 +611,9 @@ void r600_context_fini(struct r600_context *ctx)
|
|||
}
|
||||
free(ctx->range[i].blocks);
|
||||
}
|
||||
free(ctx->blocks);
|
||||
free(ctx->reloc);
|
||||
free(ctx->bo);
|
||||
free(ctx->pm4);
|
||||
if (ctx->fence_bo) {
|
||||
r600_bo_reference(ctx->radeon, &ctx->fence_bo, NULL);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue