mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 19:58:09 +02:00
r600g: Fix memory leak on error path.
This commit is contained in:
parent
d56e46577e
commit
2da4694955
1 changed files with 1 additions and 1 deletions
|
|
@ -984,7 +984,7 @@ void r600_context_dump_bof(struct r600_context *ctx, const char *file)
|
|||
goto out_err;
|
||||
device_id = bof_int32(ctx->radeon->device);
|
||||
if (device_id == NULL)
|
||||
return;
|
||||
goto out_err;
|
||||
if (bof_object_set(root, "device_id", device_id))
|
||||
goto out_err;
|
||||
bof_decref(device_id);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue