radeonsi: Fix resource leak in gs_copy_shader allocation failure path
authorGwan-gyeong Mun <elongbug@gmail.com>
Sun, 20 Nov 2016 04:19:57 +0000 (13:19 +0900)
committerEdward O'Callaghan <eocallaghan@oxyoptia.com>
Mon, 21 Nov 2016 13:04:59 +0000 (00:04 +1100)
commit9c5b1c799073779101d358d85eff0bdc389c93fc
treea0bca90549cbbaa8ab7cb29b22cf6a382e0545f1
parent0e11290ef5ffcf1d792ad7409bf726dd556e4d87
radeonsi: Fix resource leak in gs_copy_shader allocation failure path

CID 1394028

Signed-off-by: Mun Gwan-gyeong <elongbug@gmail.com>
Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeonsi/si_shader.c