summaryrefslogtreecommitdiff
path: root/fs/befs
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2010-01-29 06:11:38 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2010-02-07 11:06:21 +0300
commit8dd5ca532c2d2c2b85f16bc038ebfff05b8853e1 (patch)
tree6a167dbbaeebf1ea681b79da7846780e4f7c2983 /fs/befs
parent29275254caedfedce960cfe6df24b90cb04fe431 (diff)
downloadlinux-8dd5ca532c2d2c2b85f16bc038ebfff05b8853e1.tar.xz
befs: fix leak
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/befs')
-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: