summaryrefslogtreecommitdiff
path: root/fs/befs
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2010-01-28 22:11:38 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2010-02-07 03:06:21 -0500
commit8dd5ca532c2d2c2b85f16bc038ebfff05b8853e1 (patch)
tree6a167dbbaeebf1ea681b79da7846780e4f7c2983 /fs/befs
parent29275254caedfedce960cfe6df24b90cb04fe431 (diff)
downloadlinux-rpi-8dd5ca532c2d2c2b85f16bc038ebfff05b8853e1.tar.gz
linux-rpi-8dd5ca532c2d2c2b85f16bc038ebfff05b8853e1.tar.bz2
linux-rpi-8dd5ca532c2d2c2b85f16bc038ebfff05b8853e1.zip
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: