summaryrefslogtreecommitdiff
path: root/arch/sandbox/cpu/os.c
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2014-12-04 09:24:05 -0500
committerTom Rini <trini@ti.com>2014-12-04 09:24:05 -0500
commit97cdf64026c7d749dd7a5c0dbaba7a60a7292ac9 (patch)
tree2bd7522657fef09538d52b4dd6cef71a9031d273 /arch/sandbox/cpu/os.c
parentf0c6e1c31b94f193047619b6adf67c2d792b659e (diff)
parent1d8104fe8897c5fec3e03b4165bc67c57eeeaa72 (diff)
downloadu-boot-imx-97cdf64026c7d749dd7a5c0dbaba7a60a7292ac9.zip
u-boot-imx-97cdf64026c7d749dd7a5c0dbaba7a60a7292ac9.tar.gz
u-boot-imx-97cdf64026c7d749dd7a5c0dbaba7a60a7292ac9.tar.bz2
Merge branch 'sandbox' of git://git.denx.de/u-boot-x86
Diffstat (limited to 'arch/sandbox/cpu/os.c')
-rw-r--r--arch/sandbox/cpu/os.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sandbox/cpu/os.c b/arch/sandbox/cpu/os.c
index 31c9344..4d5f805 100644
--- a/arch/sandbox/cpu/os.c
+++ b/arch/sandbox/cpu/os.c
@@ -367,6 +367,7 @@ int os_dirent_ls(const char *dirname, struct os_dirent_node **headp)
done:
closedir(dir);
+ free(fname);
return ret;
}