mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
When vgcfgbackup fails or subsequent file operations fail, the temporary file created by mkstemp is never unlinked. Add unlink(tmp) to all error paths after mkstemp to prevent temp files accumulating in /tmp. Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
18 KiB
18 KiB