]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commitdiff
gguf : fix mismatch between alloc and free functions (llama/6929)
authorslaren <redacted>
Fri, 26 Apr 2024 15:07:42 +0000 (17:07 +0200)
committerGeorgi Gerganov <redacted>
Mon, 13 May 2024 08:02:26 +0000 (11:02 +0300)
ggml.c

diff --git a/ggml.c b/ggml.c
index 2e929b8d2f76bae17549147bb7db2e5e62ffc471..7f637543625d1aaf6568184e334a640ea7d462ab 100644 (file)
--- a/ggml.c
+++ b/ggml.c
@@ -21058,7 +21058,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) {