mirror of
https://github.com/ggml-org/whisper.cpp.git
synced 2026-10-03 13:03:07 +02:00
`ggml_init` can fail if no unused context is found. In that case, a NULL-pointer deref will happen later in the code during a call to `ggml_set_on_alloc`. This fixes it by bailing out if no context is found.