diff options
| author | Stefan Brüns <[email protected]> | 2016-10-01 20:41:38 +0200 |
|---|---|---|
| committer | Simon Glass <[email protected]> | 2016-10-11 10:17:07 -0600 |
| commit | 86167089b71c6b701194604e3dc66a67c6ea076a (patch) | |
| tree | ebc88cced443650236864025e6b9108d749dcf90 /fs | |
| parent | 99785de83e8198b5d5468453d49a8735b048983d (diff) | |
sandbox/fs: Free memory allocated by os_dirent_ls
Signed-off-by: Stefan Brüns <[email protected]>
Acked-by: Simon Glass <[email protected]>
Diffstat (limited to 'fs')
| -rw-r--r-- | fs/sandbox/sandboxfs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/sandbox/sandboxfs.c b/fs/sandbox/sandboxfs.c index 2703eed2088..cd10fd6845f 100644 --- a/fs/sandbox/sandboxfs.c +++ b/fs/sandbox/sandboxfs.c @@ -94,6 +94,7 @@ int sandbox_fs_ls(const char *dirname) printf("%s %10lu %s\n", os_dirent_get_typename(node->type), node->size, node->name); } + os_dirent_free(head); return 0; } |
