radeonsi: Fix memory leak in si_shader_select.
authorVinson Lee <vlee@freedesktop.org>
Wed, 20 Feb 2013 07:16:14 +0000 (23:16 -0800)
committerVinson Lee <vlee@freedesktop.org>
Thu, 21 Feb 2013 07:29:12 +0000 (23:29 -0800)
commit0d51906c0754b1c1a2964af50c55306bce9ab224
treea7a86b79647ce75e02ae1be666fcd6b2a99ccbff
parent54d9c8a04a3d79da9a73f4b30d1c30874e05dc58
radeonsi: Fix memory leak in si_shader_select.

Fixes resource leak defect reported by Coverity.

Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
src/gallium/drivers/radeonsi/si_state.c