Spaces:
Running
Running
slaren
commited on
Commit
·
d8fb433
1
Parent(s):
72b368d
gguf : fix mismatch between alloc and free functions (llama/6929)
Browse files
ggml.c
CHANGED
|
@@ -21058,7 +21058,7 @@ void gguf_free(struct gguf_context * ctx) {
|
|
| 21058 |
GGML_FREE(ctx->infos);
|
| 21059 |
}
|
| 21060 |
|
| 21061 |
-
|
| 21062 |
}
|
| 21063 |
|
| 21064 |
const char * gguf_type_name(enum gguf_type type) {
|
|
|
|
| 21058 |
GGML_FREE(ctx->infos);
|
| 21059 |
}
|
| 21060 |
|
| 21061 |
+
GGML_FREE(ctx);
|
| 21062 |
}
|
| 21063 |
|
| 21064 |
const char * gguf_type_name(enum gguf_type type) {
|