mirror-linux/fs/btrfs/tests
Dan Carpenter 564d59410c btrfs: tests: fix double btrfs_path free in remove_extent_ref()
We converted this code to use auto free cleanup.h magic but one
remaining free was accidentally left behind which leads to a double free
bug.

Fixes: a320476ca8 ("btrfs: tests: do trivial BTRFS_PATH_AUTO_FREE conversions")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
2025-12-08 21:46:43 +01:00
..
btrfs-tests.c btrfs: convert the buffer_radix to an xarray 2025-05-15 14:30:50 +02:00
btrfs-tests.h btrfs: selftests: add delayed ref self test cases 2025-01-13 14:53:13 +01:00
delayed-refs-tests.c btrfs: fix typos in comments and strings 2025-09-23 08:49:16 +02:00
extent-buffer-tests.c
extent-io-tests.c btrfs: apply the AUTO_K(V)FREE macros throughout the code 2025-11-24 22:34:51 +01:00
extent-map-tests.c btrfs: apply the AUTO_K(V)FREE macros throughout the code 2025-11-24 22:34:51 +01:00
free-space-tests.c
free-space-tree-tests.c btrfs: add btrfs prefix to free space tree exported functions 2025-07-21 23:58:02 +02:00
inode-tests.c btrfs: remove btrfs_clear_extent_bits() 2025-07-22 00:09:22 +02:00
qgroup-tests.c btrfs: tests: fix double btrfs_path free in remove_extent_ref() 2025-12-08 21:46:43 +01:00
raid-stripe-tree-tests.c btrfs: selftests: add a selftest for deleting two out of three extents 2025-01-14 15:57:55 +01:00