diff options
author | Tom Rini <trini@ti.com> | 2014-08-25 08:34:39 -0400 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-08-25 08:34:39 -0400 |
commit | 7bee1c91a94db19bd26f92cc67be35d3592c6429 (patch) | |
tree | a8e29376b47450c7a3b653e16df3ff9f603f2ca3 /common | |
parent | 055626acba2754d3311204ad361b1828a4f8aaf6 (diff) | |
parent | 9fa7bbc126d697f1415adbac72bb7f6d978ff50d (diff) | |
download | u-boot-7bee1c91a94db19bd26f92cc67be35d3592c6429.zip u-boot-7bee1c91a94db19bd26f92cc67be35d3592c6429.tar.gz u-boot-7bee1c91a94db19bd26f92cc67be35d3592c6429.tar.bz2 |
Merge branch 'agust@denx.de' of git://git.denx.de/u-boot-staging
Diffstat (limited to 'common')
-rw-r--r-- | common/cmd_mtdparts.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/cmd_mtdparts.c b/common/cmd_mtdparts.c index 40b6333..3cb0571 100644 --- a/common/cmd_mtdparts.c +++ b/common/cmd_mtdparts.c @@ -292,6 +292,7 @@ static int get_mtd_info(u8 type, u8 num, struct mtd_info **mtd) printf("Device %s not found!\n", mtd_dev); return 1; } + put_mtd_device(*mtd); return 0; } |