diff options
author | Roman Kiryanov <rkir@google.com> | 2024-01-23 16:11:02 -0800 |
---|---|---|
committer | Roman Kiryanov <rkir@google.com> | 2024-01-23 16:23:09 -0800 |
commit | 926d94b552ca6874cbc774c2cdbda07ec64bc504 (patch) | |
tree | 73f529ebd56af61e18309ebe479f966c96071223 | |
parent | be0ce7ad8f88186561f750b445ef5d13431898b0 (diff) | |
download | aemu-926d94b552ca6874cbc774c2cdbda07ec64bc504.tar.gz |
Sync address_space_host_memory_allocator.cpp to external/qemu
Bug: 322026591
Test: presubmit
Change-Id: I9c8ca9a4e79127e52bc54e75f1a880dcd1c910c3
Signed-off-by: Roman Kiryanov <rkir@google.com>
-rw-r--r-- | host-common/address_space_host_memory_allocator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host-common/address_space_host_memory_allocator.cpp b/host-common/address_space_host_memory_allocator.cpp index ed2e5fa..8db3bbe 100644 --- a/host-common/address_space_host_memory_allocator.cpp +++ b/host-common/address_space_host_memory_allocator.cpp @@ -107,7 +107,6 @@ uint64_t AddressSpaceHostMemoryAllocatorContext::unallocate(AddressSpaceDevicePi } else { return -1; } - return 0; } AddressSpaceDeviceType AddressSpaceHostMemoryAllocatorContext::getDeviceType() const { @@ -162,6 +161,7 @@ void AddressSpaceHostMemoryAllocatorContext::clear() { phys_addr, host_ptr, size); } } + m_paddr2ptr.clear(); } } // namespace emulation |