summary refs log tree commit diff stats
path: root/scripts/qapi-commands.py
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2012-04-28 02:32:42 +0000
committerStefan Weil <sw@weilnetz.de>2012-05-03 07:04:48 +0200
commit5c878008ddc1fbdb688dee7cdca93e1fd55845dc (patch)
treee6165850dd4eacb2d9dd370fbbfe73611153d42b /scripts/qapi-commands.py
parent3881725cf0c34b366285e2c9ddda941185c9f861 (diff)
downloadfocaccia-qemu-5c878008ddc1fbdb688dee7cdca93e1fd55845dc.tar.gz
focaccia-qemu-5c878008ddc1fbdb688dee7cdca93e1fd55845dc.zip
qdev: Fix memory leak in function set_pci_devfn
Valgrind reported this memory leak which occured very often.

Test scenario:

qemu-system-i386 (no arguments), only BIOS started, terminate with
monitor command (quit).

v2:
Use error_free instead of g_free (hint from Andreas Färber, thanks).

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Acked-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'scripts/qapi-commands.py')
0 files changed, 0 insertions, 0 deletions