diff options
| author | Michail Tatas <michail.tatas@gmail.com> | 2026-08-04 22:55:23 +0300 |
|---|---|---|
| committer | Madhavan Srinivasan <maddy@linux.ibm.com> | 2026-09-10 13:13:19 +0530 |
| commit | 10557fe7fc9e09d273f8575274be2bbbe255dbf0 (patch) | |
| tree | da9b7956afa20672af65b74fe995594eeb54e54f /scripts/Makefile.thinlto | |
| parent | ed28b16eab705071d28edaace47189c2eb3aa108 (diff) | |
| download | linux-10557fe7fc9e09d273f8575274be2bbbe255dbf0.tar.gz linux-10557fe7fc9e09d273f8575274be2bbbe255dbf0.zip | |
powerpc/pseries/htmdump: Fix leak in htmdump_init_debugfs
If any allocation fails during init all previous allocations are
leaked and the debugfs directory is left.
Fix by freeing the allocations that have already happened and also
remove the directory that has been created.
Signed-off-by: Michail Tatas <michail.tatas@gmail.com>
Reviewed-by: Athira Rajeev <atrajeev@linux.ibm.com>
Reviewed-by: Ritesh Harjani (IBM) <ritesh.list@gmail.com>
Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Link: https://patch.msgid.link/anJDq-JckR6j-6EJ@michalis-linux
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
