]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit
mke2fs: clean up error handling in mke2fs_setup_tdb()
authorTheodore Ts'o <tytso@mit.edu>
Wed, 22 Dec 2010 02:57:02 +0000 (21:57 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 22 Dec 2010 02:57:02 +0000 (21:57 -0500)
commit8a1cf3c243cf8447d814c4e3432fcf6282aa40e9
tree8030ad5b89998567f99c2ec5e52c185b6954c536
parent9ec68af7b61bf1ac88f20ae6ed6b1d45417195aa
mke2fs: clean up error handling in mke2fs_setup_tdb()

Avoid memory leaks on error paths, and make sure we issue the correct
error messages in the case of (highly) unlikely errors.

Original patch submitted by Namhyung Kim <namhyung@gmail.com>, but
highly rewritten since then.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
misc/mke2fs.c