Files
libguestfs/lib/drives.c
shivanayak 92c2e1e79e lib: fix drive struct leak on hotplug error in guestfs_impl_add_drive_opts (#318)
When guestfs_impl_add_drive_opts is called outside CONFIG state, the
hotplug error path returns -1 without freeing the already-allocated
drv structure.

Co-authored-by: Claude Local LLM <noreply@anthropic.com>
2026-03-11 09:56:16 +00:00

27 KiB