commit | f13a568e5a787f3980f3bd00ba9dd0b78a734129 | [log] [tgz] |
---|---|---|
author | Joseph Qi <joseph.qi@huawei.com> | Thu Sep 25 16:05:11 2014 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Fri Sep 26 08:10:34 2014 -0700 |
tree | f3d242b4397a3103d8e01cb26dbf59aafe8d86c4 | |
parent | 005f800508eb391480f463dad3d54e5b4ec67d57 [diff] |
ocfs2: free vol_label in ocfs2_delete_osb() osb->vol_label is malloced in ocfs2_initialize_super but not freed if error occurs or during umount, thus causing a memory leak. Signed-off-by: Joseph Qi <joseph.qi@huawei.com> Reviewed-by: joyce.xue <xuejiufei@huawei.com> Cc: Mark Fasheh <mfasheh@suse.com> Cc: Joel Becker <jlbec@evilplan.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>