commit | e7c43b66d74ee9902a6732122788a7a16bcfbf18 | [log] [tgz] |
---|---|---|
author | Rob Landley <rob@landley.net> | Wed Mar 01 16:39:45 2006 +0000 |
committer | Rob Landley <rob@landley.net> | Wed Mar 01 16:39:45 2006 +0000 |
tree | ebb8583e9e1265588592614c0b4878daded44125 | |
parent | 93f2286e6e59dab5eed14b5912a79254031c5a62 [diff] [blame] |
Cleanup patch from Denis Vlasenko. Mostly variants of removing the if(x) from before "if(x) free(x)".
diff --git a/e2fsprogs/ext2fs/dblist.c b/e2fsprogs/ext2fs/dblist.c index 0cf5698..73313fa 100644 --- a/e2fsprogs/ext2fs/dblist.c +++ b/e2fsprogs/ext2fs/dblist.c
@@ -99,8 +99,7 @@ fs->dblist = dblist; return 0; cleanup: - if (dblist) - ext2fs_free_mem(&dblist); + ext2fs_free_mem(&dblist); return retval; }