[PATCH] reiserfs: [kv]free() checking cleanup

Signed-off-by: James Lamanna <jlamanna@gmail.com>
Signed-off-by: Domen Puncer <domen@coderock.org>
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
James Lamanna
2005-10-30 15:00:16 -08:00
committed by Linus Torvalds
parent aaa4059bc2
commit 833d304b22
2 changed files with 10 additions and 18 deletions

View File

@@ -296,8 +296,7 @@ reiserfs_set_acl(struct inode *inode, int type, struct posix_acl *acl)
}
}
if (value)
kfree(value);
kfree(value);
if (!error) {
/* Release the old one */