slaren commited on
Commit
d8fb433
·
1 Parent(s): 72b368d

gguf : fix mismatch between alloc and free functions (llama/6929)

Browse files
Files changed (1) hide show
  1. ggml.c +1 -1
ggml.c CHANGED
@@ -21058,7 +21058,7 @@ void gguf_free(struct gguf_context * ctx) {
21058
  GGML_FREE(ctx->infos);
21059
  }
21060
 
21061
- GGML_ALIGNED_FREE(ctx);
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) {