mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2024-12-18 20:27:53 +00:00
whisper : free backend instances in whisper_state
This commit is contained in:
parent
76c8b5235b
commit
a2f3b82db3
@ -3186,6 +3186,8 @@ void whisper_free_state(struct whisper_state * state)
|
||||
whisper_allocr_free(state->alloc_cross);
|
||||
whisper_allocr_free(state->alloc_decode);
|
||||
|
||||
ggml_backend_free(state->backend);
|
||||
|
||||
delete state;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user