aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/affs/super.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/affs/super.c b/fs/affs/super.c
index 104fdcb3a7f..b2a5958c619 100644
--- a/fs/affs/super.c
+++ b/fs/affs/super.c
@@ -316,6 +316,8 @@ static int affs_fill_super(struct super_block *sb, void *data, int silent)
316 &blocksize,&sbi->s_prefix, 316 &blocksize,&sbi->s_prefix,
317 sbi->s_volume, &mount_flags)) { 317 sbi->s_volume, &mount_flags)) {
318 printk(KERN_ERR "AFFS: Error parsing options\n"); 318 printk(KERN_ERR "AFFS: Error parsing options\n");
319 kfree(sbi->s_prefix);
320 kfree(sbi);
319 return -EINVAL; 321 return -EINVAL;
320 } 322 }
321 /* N.B. after this point s_prefix must be released */ 323 /* N.B. after this point s_prefix must be released */