summary refs log tree commit diff stats
path: root/tcg/optimize.c
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2016-07-15 10:55:12 +0200
committerMarc-André Lureau <marcandre.lureau@redhat.com>2016-08-08 00:00:28 +0400
commit0137a557aac07480ff8447ef372f0581af5ee65a (patch)
treed57b314263f8cb2fa9ee950f3f194886dd6f295c /tcg/optimize.c
parentdf37dd6ffe49dc0da919c5034fb89e1f85e3c98f (diff)
downloadfocaccia-qemu-0137a557aac07480ff8447ef372f0581af5ee65a.tar.gz
focaccia-qemu-0137a557aac07480ff8447ef372f0581af5ee65a.zip
virtio-input: free config list
Clear the list when finalizing. The list is created during realize with
virtio_input_idstr_config() and later by further calls to
virtio_input_init_config() and virtio_input_add_config().

This leak can be reproduced with device-introspect-test -p
/x86_64/device/introspect/concrete.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'tcg/optimize.c')
0 files changed, 0 insertions, 0 deletions