Răsfoiți Sursa

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

slaren 1 an în urmă
părinte
comite
e2764cd7ca
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      ggml.c

+ 1 - 1
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) {