diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2010-01-25 12:05:54 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2010-01-27 04:22:26 +0100 |
commit | 7e32b7bb734047c5e3cecf2e896b9cf8fc35d1e8 (patch) | |
tree | 5f26e01b5803489134e32b97d182fda160a34647 /fs/romfs/super.c | |
parent | get rid of pointless checks after simple_pin_fs() (diff) | |
download | linux-7e32b7bb734047c5e3cecf2e896b9cf8fc35d1e8.tar.xz linux-7e32b7bb734047c5e3cecf2e896b9cf8fc35d1e8.zip |
fix leak in romfs_fill_super()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/romfs/super.c')
-rw-r--r-- | fs/romfs/super.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/romfs/super.c b/fs/romfs/super.c index c117fa80d1e9..42d213546894 100644 --- a/fs/romfs/super.c +++ b/fs/romfs/super.c @@ -544,6 +544,7 @@ error: error_rsb_inval: ret = -EINVAL; error_rsb: + kfree(rsb); return ret; } |