mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-03 15:50:17 +01:00
freedreno: remove null check before free
Reviewed-by: Eduardo Lima Mitev <elima@igalia.com>
This commit is contained in:
parent
8698194313
commit
3a6763f0a0
1 changed files with 1 additions and 2 deletions
|
|
@ -262,8 +262,7 @@ fd_resource_transfer_unmap(struct pipe_context *pctx,
|
|||
pipe_resource_reference(&ptrans->resource, NULL);
|
||||
util_slab_free(&ctx->transfer_pool, ptrans);
|
||||
|
||||
if (trans->staging)
|
||||
free(trans->staging);
|
||||
free(trans->staging);
|
||||
}
|
||||
|
||||
static void *
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue