aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/kvm/x86/nested_exceptions_test.c
diff options
context:
space:
mode:
authorHaoxiang Li <[email protected]>2025-03-03 02:42:33 +0000
committerDavid Sterba <[email protected]>2025-03-06 13:40:09 +0000
commit35d99c68af40a8ca175babc5a89ef7e2226fb3ca (patch)
tree5edcdce3fc0f6bd6a8763ffbb7f55f3c6077b941 /tools/testing/selftests/kvm/x86/nested_exceptions_test.c
parentbtrfs: replace deprecated strncpy() with strscpy() (diff)
downloadkernel-35d99c68af40a8ca175babc5a89ef7e2226fb3ca.tar.gz
kernel-35d99c68af40a8ca175babc5a89ef7e2226fb3ca.zip
btrfs: fix a leaked chunk map issue in read_one_chunk()
Add btrfs_free_chunk_map() to free the memory allocated by btrfs_alloc_chunk_map() if btrfs_add_chunk_map() fails. Fixes: 7dc66abb5a47 ("btrfs: use a dedicated data structure for chunk maps") CC: [email protected] Reviewed-by: Qu Wenruo <[email protected]> Reviewed-by: Filipe Manana <[email protected]> Signed-off-by: Haoxiang Li <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/testing/selftests/kvm/x86/nested_exceptions_test.c')
0 files changed, 0 insertions, 0 deletions