mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2026-08-12 22:31:11 +04:00
fix ~server_batch()
This commit is contained in:
@@ -97,6 +97,7 @@ struct server_batch {
|
||||
|
||||
~server_batch() {
|
||||
if (batch.pos != nullptr) {
|
||||
clear();
|
||||
llama_batch_free(batch);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user