radeonsi: fix a crash in si_destroy_context if we fail early
authorMarek Olšák <marek.olsak@amd.com>
Wed, 24 May 2017 16:17:38 +0000 (18:17 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Sun, 28 May 2017 23:52:16 +0000 (01:52 +0200)
commit24306c0b2783bde3e1545d10effefa13d58667c4
tree19ef58c945e30e2a4d2158a692b9859f9923715b
parentc70b0604f0296080333d6dd86940782559bd4a5b
radeonsi: fix a crash in si_destroy_context if we fail early

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeonsi/si_pipe.c