summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2014-08-25 08:34:39 -0400
committerTom Rini <trini@ti.com>2014-08-25 08:34:39 -0400
commit7bee1c91a94db19bd26f92cc67be35d3592c6429 (patch)
treea8e29376b47450c7a3b653e16df3ff9f603f2ca3 /common
parent055626acba2754d3311204ad361b1828a4f8aaf6 (diff)
parent9fa7bbc126d697f1415adbac72bb7f6d978ff50d (diff)
downloadu-boot-imx-7bee1c91a94db19bd26f92cc67be35d3592c6429.zip
u-boot-imx-7bee1c91a94db19bd26f92cc67be35d3592c6429.tar.gz
u-boot-imx-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.c1
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;
}