mirror of
https://github.com/RYDE-WORK/llama.cpp.git
synced 2026-01-26 01:40:12 +08:00
This prevents invalid frees when destroying a partially initialized vk_buffer_struct. For example, this could happen in ggml_vk_create_buffer when running out of device memory. Co-authored-by: Tony Wasserka <neobrain@users.noreply.github.com>