]> git.djapps.eu Git - pkg/ggml/sources/ggml/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>
Sat, 11 May 2024 18:30:08 +0000 (21:30 +0300)
src/ggml.c

index 2e929b8d2f76bae17549147bb7db2e5e62ffc471..7f637543625d1aaf6568184e334a640ea7d462ab 100644 (file)
@@ -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) {