radv: Properly handle destroying NULL devices and instances
authorDave Airlie <airlied@redhat.com>
Mon, 6 Mar 2017 05:40:16 +0000 (15:40 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 6 Mar 2017 22:17:03 +0000 (08:17 +1000)
commit6bae1e44a99f909359879951743599e6d6c1cc28
tree03a9774f0bc4f1db17bef5551a47bb1126fe86a3
parent5c45d2051a7872675982242849bfdefaaa275707
radv: Properly handle destroying NULL devices and instances

Ported from anv:
3d33a23e anv: Properly handle destroying NULL devices and instances

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_device.c