diff options
author | 2023-08-25 10:32:51 +0800 | |
---|---|---|
committer | 2023-08-29 10:19:03 +0800 | |
commit | 19b14cea453b7429a06922fe96e55e6b32fe718a (patch) | |
tree | 14fba0aa71bcdae764f91c751d2f638c58efbff3 /scripts/qapi/source.py | |
parent | softmmu: Fix dirtylimit memory leak (diff) | |
download | qemu-19b14cea453b7429a06922fe96e55e6b32fe718a.tar.xz qemu-19b14cea453b7429a06922fe96e55e6b32fe718a.zip |
softmmu/dirtylimit: Convert free to g_free
Convert free to g_free to match g_new and g_malloc functions.
Fixes: cc2b33eab0 ("softmmu/dirtylimit: Implement vCPU dirtyrate calculation periodically")
Fixes: baa609832e ("softmmu/dirtylimit: Implement virtual CPU throttle")
Signed-off-by: alloc.young <alloc.young@outlook.com>
Reviewed-by: Hyman Huang <yong.huang@smartx.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <SA1PR11MB67604ECD85AFF34BEB3072F7F5E3A@SA1PR11MB6760.namprd11.prod.outlook.com>
Signed-off-by: Hyman Huang <yong.huang@smartx.com>
Diffstat (limited to 'scripts/qapi/source.py')
0 files changed, 0 insertions, 0 deletions