summaryrefslogtreecommitdiff
path: root/src/unload.c
blob: 530470190b91e7208d6b3bface65251ee814ba7b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <wasmfs.h>
#include <wasm_types.h>
#include <errno.h>
#include <stdlib.h>
#include <string.h>

void wasmfs_unload(struct wasmfs *const w)
{
    if (w)
        free(w->path);

    free(w);
}