]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
gguf : fix mismatch between alloc and free functions (#6929)
authorslaren <redacted>
Fri, 26 Apr 2024 15:07:42 +0000 (17:07 +0200)
committerGitHub <redacted>
Fri, 26 Apr 2024 15:07:42 +0000 (18:07 +0300)
ggml.c

diff --git a/ggml.c b/ggml.c
index 9f99a69d1158b9bf18ae7e986ec43d658fb7b614..34eef23fcf90fd8402796703830c2e804e8b7826 100644 (file)
--- a/ggml.c
+++ b/ggml.c
@@ -20987,7 +20987,7 @@ void gguf_free(struct gguf_context * ctx) {
         GGML_FREE(ctx->infos);
     }
 
-    GGML_ALIGNED_FREE(ctx);
+    GGML_FREE(ctx);
 }
 
 const char * gguf_type_name(enum gguf_type type) {