commit | 01fb9341f95c577aa8e746875e73f5b0bd29e241 | [log] [tgz] |
---|---|---|
author | Linux Build Service Account <lnxbuild@localhost> | Tue Jan 07 01:31:22 2014 -0800 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Tue Jan 07 01:31:22 2014 -0800 |
tree | 32a68ae26477a5afac3f1240fc7a80344487f3fb | |
parent | a0fa122229bdefd07d8f53c18eb51f7415f30590 [diff] | |
parent | 49d557e98fc69890e4dc1ada6bf82ba31d175d4a [diff] |
Merge "ext4: fix memory leak in xattr"
diff --git a/fs/ext4/xattr.c b/fs/ext4/xattr.c index e88748e..6c27436 100644 --- a/fs/ext4/xattr.c +++ b/fs/ext4/xattr.c
@@ -1267,6 +1267,8 @@ s_min_extra_isize) { tried_min_extra_isize++; new_extra_isize = s_min_extra_isize; + kfree(is); is = NULL; + kfree(bs); bs = NULL; goto retry; } error = -1;