layers: GH949, Fix ObjTrkr to destroy NULL handles
authorMark Lobodzinski <mark@lunarg.com>
Thu, 17 Nov 2016 17:56:14 +0000 (10:56 -0700)
committerMark Lobodzinski <mark@lunarg.com>
Thu, 17 Nov 2016 21:15:52 +0000 (14:15 -0700)
commit6d9457719304bd4fae2db1f9e945f608258e5b9f
treeb605b5ad92ce362317c93339ce47e5b0e8b5f987
parent3e8e513a777f4b74d4fc60770529eeb3c0714c89
layers: GH949, Fix ObjTrkr to destroy NULL handles

ObjectTracker emitted errors when a destroy/free call was made with
VK_NULL_HANDLE, which *is* allowed by the spec.

Change-Id: I2b4e19999e539d68b5856139566d4a7a8a530ca6
layers/object_tracker.cpp