diff options
| author | Mikulas Patocka <mpatocka@redhat.com> | 2026-11-06 19:43:14 +0100 |
|---|---|---|
| committer | Mikulas Patocka <mpatocka@redhat.com> | 2026-11-06 20:37:02 +0100 |
| commit | dfb95816cf6f2f2660af2ec64c65dc204c60b5e7 (patch) | |
| tree | 3eebf4ac76d80678c577a79eabe4a05287dc32f1 /tools/perf/scripts/python/bin | |
| parent | 62ee9c09366cad69410330087d990e469dd92314 (diff) | |
dm-thin: fix leak if __set_snapshot_details fails
If __set_snapshot_details fails, the variable td is leaked - this
prevents any other snapshot with the same id from being created.
Fix this by removing it from the list and freeing it.
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Assisted-by: Claude:claude-opus-5
Cc: stable@vger.kernel.org
Fixes: 991d9fa02da0 ("dm: add thin provisioning target")
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
