Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
get_gpa_access_state: avoid returning dangling reference
Previously, VmFd::get_gpa_access_state returned a dangling reference (in the form of a raw pointer) to a vector that was allocated and freed during the function call. This commit modifies it to instead return the vector directly, since no other information is required by its only consumer (VmFd::get_dirty_log). Signed-off-by: Lucy Menon <168595099+syntactically@users.noreply.github.com>
- Loading branch information