radv,vulkan: fix some use-after-free
I found the first two using asan. The last was found by reading the code, I haven't observed it.
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
I found the first two using asan. The last was found by reading the code, I haven't observed it.