nuttx-apps/testing/drivers/sd_stress
Nightt f8a48fa5f3 testing/sd_stress: Harden file creation cleanup
Close the temporary file descriptor when create_files() fails after open(), and release the read buffer before returning from the path-length failure branch.

This is logically separable from the #3205 stale-directory fix: it does not change how existing /sd/stress is handled, but keeps the same failure paths from leaking resources while the stress test exits after an error.

The scope intentionally stays within sd_stress failure cleanup and does not touch SD/MMC transfer behavior or other testing drivers.

Signed-off-by: Nightt <87569709+nightt5879@users.noreply.github.com>
2026-05-25 10:28:32 +08:00
..
Kconfig apps/testing:move {drivertest fftest irtest monkey nand_sim pcitest sd_bench sd_stress sensortest} folders to the new driver folder 2025-01-21 16:22:56 +08:00
Make.defs apps/testing:move {drivertest fftest irtest monkey nand_sim pcitest sd_bench sd_stress sensortest} folders to the new driver folder 2025-01-21 16:22:56 +08:00
Makefile apps/testing:move {drivertest fftest irtest monkey nand_sim pcitest sd_bench sd_stress sensortest} folders to the new driver folder 2025-01-21 16:22:56 +08:00
sd_stress_main.c testing/sd_stress: Harden file creation cleanup 2026-05-25 10:28:32 +08:00