]> www.infradead.org Git - mtd-utils.git/commit
use xstrdup in a few more places
authorMike Frysinger <vapier@gentoo.org>
Wed, 8 May 2013 23:01:55 +0000 (19:01 -0400)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Mon, 1 Jul 2013 05:56:04 +0000 (08:56 +0300)
commit450e9cb17d3d86e3e45fd427c85644ac64ec60a4
tree39e0c67d2650164c9095ba90d47485b8170c571f
parent1075562c9e34153b43c12ec5c0b173a1a593b92a
use xstrdup in a few more places

These call sites either assume there is no failure (they deref the
pointer right away), or the exit themselves.  Use xstrdup() instead.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
jffs2reader.c
mkfs.jffs2.c
mkfs.ubifs/mkfs.ubifs.c
nanddump.c