aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2010-01-25 06:05:54 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2010-01-26 22:22:26 -0500
commit7e32b7bb734047c5e3cecf2e896b9cf8fc35d1e8 (patch)
tree5f26e01b5803489134e32b97d182fda160a34647
parentef52c75e4b1603f6e6102967ad90118205168eae (diff)
fix leak in romfs_fill_super()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-rw-r--r--fs/romfs/super.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/romfs/super.c b/fs/romfs/super.c
index c117fa80d1e..42d21354689 100644
--- a/fs/romfs/super.c
+++ b/fs/romfs/super.c
@@ -544,6 +544,7 @@ error:
544error_rsb_inval: 544error_rsb_inval:
545 ret = -EINVAL; 545 ret = -EINVAL;
546error_rsb: 546error_rsb:
547 kfree(rsb);
547 return ret; 548 return ret;
548} 549}
549 550