]> Git Repo - linux.git/commit
ext4: fix possible memory leak in ext4_remount()
authorWei Yongjun <[email protected]>
Sat, 2 Mar 2013 22:13:55 +0000 (17:13 -0500)
committerTheodore Ts'o <[email protected]>
Sat, 2 Mar 2013 22:13:55 +0000 (17:13 -0500)
commit3e36a16375eee390a9d80f99499fe630efa08128
treec07bece14821d3b66c781b969c4ec0ed5ee37a26
parentdf05c1b85a88888b92725ef27ba70086f38fb083
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 <[email protected]>
Signed-off-by: "Theodore Ts'o" <[email protected]>
Reviewed-by: Lukas Czerner <[email protected]>
Cc: [email protected]
fs/ext4/super.c
This page took 0.055466 seconds and 4 git commands to generate.