diff options
Diffstat (limited to 'memory.c')
| -rw-r--r-- | memory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/memory.c b/memory.c index e193658fc7..cf5b05f898 100644 --- a/memory.c +++ b/memory.c @@ -861,7 +861,7 @@ static void memory_region_destructor_ram(MemoryRegion *mr) static void memory_region_destructor_ram_from_ptr(MemoryRegion *mr) { - qemu_ram_free_from_ptr(mr->ram_addr); + qemu_ram_free(mr->ram_addr); } static void memory_region_destructor_rom_device(MemoryRegion *mr) |