Merge "vulkan: avoid double-free in InitSharedPtr" into nyc-dev