mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
When realpath() succeeds but subsequent operations fail, the allocated path is leaked. Add free(ret) before returning -1 on both error paths. Co-authored-by: Claude <norep@anthropic.com>
10 KiB
10 KiB