summaryrefslogtreecommitdiffstats
path: root/include/hw/vfio
diff options
context:
space:
mode:
authorPaolo Bonzini2019-10-01 15:36:27 +0200
committerPaolo Bonzini2019-10-04 18:49:17 +0200
commite97dd6b2b3d67ca575c491382b522415904bd552 (patch)
tree3e9cdb330d7db300336746ad3fdf14852860566e /include/hw/vfio
parentcris: do not leak struct cris_disasm_data (diff)
downloadqemu-e97dd6b2b3d67ca575c491382b522415904bd552.tar.gz
qemu-e97dd6b2b3d67ca575c491382b522415904bd552.tar.xz
qemu-e97dd6b2b3d67ca575c491382b522415904bd552.zip
lm32: do not leak memory on object_new/object_unref
Bottom halves and ptimers are malloced, but nothing in these files is freeing memory allocated by instance_init. Since these are sysctl devices that are never unrealized, just moving the allocations to realize is enough to avoid the leak in practice (and also to avoid upsetting asan when running device-introspect-test). Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Diffstat (limited to 'include/hw/vfio')
0 files changed, 0 insertions, 0 deletions