]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit
e2fsck: Fix leaks in error paths
authorEric Sandeen <sandeen@redhat.com>
Fri, 16 Sep 2011 20:49:36 +0000 (15:49 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 16 Sep 2011 23:55:55 +0000 (19:55 -0400)
commit6d4ced2192766f09f021ed801797961ad2f8e258
tree2018403085affdb444b675ac75cea7d1b08d2710
parent2bf0739dc040099f1ce6ac03ea6d9a2781aef734
e2fsck: Fix leaks in error paths

fn and/or array was not freed in some error paths.

[ Also make sure the array is NULL terminated before we free it in
  get_dirlist(). --tytso]

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
e2fsck/profile.c