We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7471d5a commit e2e8186Copy full SHA for e2e8186
1 file changed
core/iwasm/libraries/wasi-nn/src/wasi_nn_llamacpp.c
@@ -2,6 +2,9 @@
2
* Copyright (C) 2019 Intel Corporation. All rights reserved.
3
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
4
*/
5
+
6
+#include <stdlib.h>
7
8
#include "wasi_nn_types.h"
9
#include "utils/logger.h"
10
#include "llama.h"
@@ -286,7 +289,7 @@ deinit_backend(void *ctx)
286
289
287
290
llama_backend_free();
288
291
- os_free(backend_ctx);
292
+ free(backend_ctx);
293
return success;
294
}
295
0 commit comments