diff options
author | Gao Shiyuan <gaoshiyuan@baidu.com> | 2024-08-29 21:10:05 +0800 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2024-09-05 13:12:37 +0100 |
commit | 99ec7b440a1d6a6ef07450b68687d24d13a25fb5 (patch) | |
tree | 7cfb2e134e50e9402a35887e2def92fcdcdefc83 /qemu-keymap.c | |
parent | 17e93dd5faaf3ba8a1df099cc9396e4943baa892 (diff) |
platform-bus: fix refcount leak
memory_region_find() returns an MR which it is the caller's
responsibility to unref, but platform_bus_map_mmio() was
forgetting to do so, thus leaking the MR.
Signed-off-by: Gao Shiyuan <gaoshiyuan@baidu.com>
Message-id: 20240829131005.9196-1-gaoshiyuan@baidu.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
[PMM: tweaked commit message]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'qemu-keymap.c')
0 files changed, 0 insertions, 0 deletions