Repository navigation
Commit 3e36a16
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.org1 parent df05c1b commit 3e36a16
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4543 | 4543 | | |
4544 | 4544 | | |
4545 | 4545 | | |
| 4546 | + | |
4546 | 4547 | | |
4547 | 4548 | | |
4548 | 4549 | | |
| |||
0 commit comments