Ver código fonte

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

slaren 1 ano atrás
pai
commit
e2764cd7ca
1 arquivos alterados com 1 adições e 1 exclusões
  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_FREE(ctx->infos);
     }
     }
 
 
-    GGML_ALIGNED_FREE(ctx);
+    GGML_FREE(ctx);
 }
 }
 
 
 const char * gguf_type_name(enum gguf_type type) {
 const char * gguf_type_name(enum gguf_type type) {