diff options
author | Rob Landley <rob@landley.net> | 2006-03-01 16:39:45 +0000 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2006-03-01 16:39:45 +0000 |
commit | e7c43b66d74ee9902a6732122788a7a16bcfbf18 (patch) | |
tree | ebb8583e9e1265588592614c0b4878daded44125 /e2fsprogs/ext2fs/namei.c | |
parent | 93f2286e6e59dab5eed14b5912a79254031c5a62 (diff) | |
download | busybox-w32-e7c43b66d74ee9902a6732122788a7a16bcfbf18.tar.gz busybox-w32-e7c43b66d74ee9902a6732122788a7a16bcfbf18.tar.bz2 busybox-w32-e7c43b66d74ee9902a6732122788a7a16bcfbf18.zip |
Cleanup patch from Denis Vlasenko. Mostly variants of removing the if(x)
from before "if(x) free(x)".
Diffstat (limited to 'e2fsprogs/ext2fs/namei.c')
-rw-r--r-- | e2fsprogs/ext2fs/namei.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/e2fsprogs/ext2fs/namei.c b/e2fsprogs/ext2fs/namei.c index 6ce4bb363..2c372f4e2 100644 --- a/e2fsprogs/ext2fs/namei.c +++ b/e2fsprogs/ext2fs/namei.c | |||
@@ -61,8 +61,7 @@ static errcode_t follow_link(ext2_filsys fs, ext2_ino_t root, ext2_ino_t dir, | |||
61 | pathname = (char *)&(ei.i_block[0]); | 61 | pathname = (char *)&(ei.i_block[0]); |
62 | retval = open_namei(fs, root, dir, pathname, ei.i_size, 1, | 62 | retval = open_namei(fs, root, dir, pathname, ei.i_size, 1, |
63 | link_count, buf, res_inode); | 63 | link_count, buf, res_inode); |
64 | if (buffer) | 64 | ext2fs_free_mem(&buffer); |
65 | ext2fs_free_mem(&buffer); | ||
66 | return retval; | 65 | return retval; |
67 | } | 66 | } |
68 | 67 | ||