mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-30 20:50:09 +01:00
radeon: use _mesa_delete_buffer_object
This is more future-proof, plugs the memory leak of Label and properly
destroys the buffer mutex.
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Cc: "11.0 11.1" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
(cherry picked from commit 8882b46226)
This commit is contained in:
parent
0c7b4c2013
commit
a554b6fbb5
1 changed files with 1 additions and 1 deletions
|
|
@ -71,7 +71,7 @@ radeonDeleteBufferObject(struct gl_context * ctx,
|
|||
radeon_bo_unref(radeon_obj->bo);
|
||||
}
|
||||
|
||||
free(radeon_obj);
|
||||
_mesa_delete_buffer_object(ctx, obj);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue