anv: Properly handle destroying NULL devices and instances
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 1 Mar 2017 16:39:49 +0000 (08:39 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 1 Mar 2017 23:31:44 +0000 (15:31 -0800)
commite3d33a23e6cbe2b73b412a56bb4fc4aa6852d081
treeaddce6d432ad85d1d5ce80cc22451563a3807544
parentf3ec9d33c6a3ed4ddb42d3bf4844fc04bf4a69c8
anv: Properly handle destroying NULL devices and instances

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Cc: "17.0 13.0" <mesa-dev@lists.freedesktop.org>
src/intel/vulkan/anv_device.c