commit | 3e36a16375eee390a9d80f99499fe630efa08128 | [log] [tgz] |
---|---|---|
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | Sat Mar 02 17:13:55 2013 -0500 |
committer | Theodore Ts'o <tytso@mit.edu> | Sat Mar 02 17:13:55 2013 -0500 |
tree | c07bece14821d3b66c781b969c4ec0ed5ee37a26 | |
parent | df05c1b85a88888b92725ef27ba70086f38fb083 [diff] |
ext4: fix possible memory leak in ext4_remount() 'orig_data' is malloced in ext4_remount() and should be freed before leaving from the error handling cases, otherwise it will cause memory leak. Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> Reviewed-by: Lukas Czerner <lczerner@redhat.com> Cc: stable@vger.kernel.org