diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/ext4/super.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ext4/super.c b/fs/ext4/super.c index 1ae5860b30a3..6ac9c8a3eb08 100644 --- a/fs/ext4/super.c +++ b/fs/ext4/super.c | |||
@@ -4543,6 +4543,7 @@ static int ext4_remount(struct super_block *sb, int *flags, char *data) | |||
4543 | if (!old_opts.s_qf_names[i]) { | 4543 | if (!old_opts.s_qf_names[i]) { |
4544 | for (j = 0; j < i; j++) | 4544 | for (j = 0; j < i; j++) |
4545 | kfree(old_opts.s_qf_names[j]); | 4545 | kfree(old_opts.s_qf_names[j]); |
4546 | kfree(orig_data); | ||
4546 | return -ENOMEM; | 4547 | return -ENOMEM; |
4547 | } | 4548 | } |
4548 | } else | 4549 | } else |