From 52c18e60929b64285d4bb333f87482d954c9b2e0 Mon Sep 17 00:00:00 2001 From: Xavier Del Campo Romero Date: Sun, 26 Nov 2023 22:43:30 +0100 Subject: First commit --- src/unload.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/unload.c (limited to 'src/unload.c') diff --git a/src/unload.c b/src/unload.c new file mode 100644 index 0000000..5304701 --- /dev/null +++ b/src/unload.c @@ -0,0 +1,13 @@ +#include +#include +#include +#include +#include + +void wasmfs_unload(struct wasmfs *const w) +{ + if (w) + free(w->path); + + free(w); +} -- cgit v1.2.3