summaryrefslogtreecommitdiffstats
path: root/fs/befs/linuxvfs.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2010-01-29 04:11:38 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2010-02-07 09:06:21 +0100
commit8dd5ca532c2d2c2b85f16bc038ebfff05b8853e1 (patch)
tree6a167dbbaeebf1ea681b79da7846780e4f7c2983 /fs/befs/linuxvfs.c
parentLinux 2.6.33-rc7 (diff)
downloadlinux-8dd5ca532c2d2c2b85f16bc038ebfff05b8853e1.tar.xz
linux-8dd5ca532c2d2c2b85f16bc038ebfff05b8853e1.zip
befs: fix leak
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/befs/linuxvfs.c')
-rw-r--r--fs/befs/linuxvfs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/befs/linuxvfs.c b/fs/befs/linuxvfs.c
index 33baf27fac78..34ddda888e63 100644
--- a/fs/befs/linuxvfs.c
+++ b/fs/befs/linuxvfs.c
@@ -873,6 +873,7 @@ befs_fill_super(struct super_block *sb, void *data, int silent)
brelse(bh);
unacquire_priv_sbp:
+ kfree(befs_sb->mount_opts.iocharset);
kfree(sb->s_fs_info);
unacquire_none: