radeon: use _mesa_delete_buffer_object
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Wed, 6 Jan 2016 02:49:37 +0000 (21:49 -0500)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Thu, 7 Jan 2016 22:07:03 +0000 (17:07 -0500)
commit8882b46226152733960ae006e3856baf00aa71f3
treef3b2f037052831526f94da1007bfbd0e10422df7
parent1c2187b1c225b2f7e1891544d184bde60390977e
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>
src/mesa/drivers/dri/radeon/radeon_buffer_objects.c