summaryrefslogtreecommitdiffstats
path: root/fs/ramfs
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2013-03-02 23:13:55 +0100
committerTheodore Ts'o <tytso@mit.edu>2013-03-02 23:13:55 +0100
commit3e36a16375eee390a9d80f99499fe630efa08128 (patch)
treec07bece14821d3b66c781b969c4ec0ed5ee37a26 /fs/ramfs
parentjbd2: fix ERR_PTR dereference in jbd2__journal_start (diff)
downloadlinux-3e36a16375eee390a9d80f99499fe630efa08128.tar.xz
linux-3e36a16375eee390a9d80f99499fe630efa08128.zip
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
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions