The functions vkBasalt_DestroyDevice and vkBasalt_DestroyInstance do not call the next layer's vkDestroy{Device,Instance}functions, which means that the corresponding objects will never get freed.
I fixed the DestroyDevice memory leak with 585561a35fb88ca201ac3b3bb8ff03af1baa08ef , but if I try to call DestroyDevice it segfaults. I do not know why it does that, so any help would be appreciated.
The functions
vkBasalt_DestroyDevice
andvkBasalt_DestroyInstance
do not call the next layer'svkDestroy{Device,Instance}
functions, which means that the corresponding objects will never get freed.