Procházet zdrojové kódy

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

slaren před 1 rokem
rodič
revize
e2764cd7ca
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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) {