radeonsi: fix freeing descriptor buffers
authorChristian König <christian.koenig@amd.com>
Sat, 8 Mar 2014 13:52:25 +0000 (14:52 +0100)
committerChristian König <christian.koenig@amd.com>
Sat, 8 Mar 2014 15:08:15 +0000 (16:08 +0100)
commit6a402359fdb3e82771e36c47bbf2b99a2ecc4d03
tree20e2f180c63e8899c798aae4ad2391011cf4f2ed
parent58d2afa2232060b88f9c444ce7a0d6e63c841bb2
radeonsi: fix freeing descriptor buffers

That structure member is a pointer, so the loop with
the Elements macro only freed up the first entry.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeonsi/si_descriptors.c