Skip to content

Commit

Permalink
fix leak in romfs_fill_super()
Browse files Browse the repository at this point in the history
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
  • Loading branch information
Al Viro committed Jan 27, 2010
1 parent ef52c75 commit 7e32b7b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fs/romfs/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -544,6 +544,7 @@ static int romfs_fill_super(struct super_block *sb, void *data, int silent)
error_rsb_inval:
ret = -EINVAL;
error_rsb:
kfree(rsb);
return ret;
}

Expand Down

0 comments on commit 7e32b7b

Please sign in to comment.