[Qemu-devel] [PATCH] qdev: Fix memory leak in function set_pci_devfn

2012-04-28 Thread Stefan Weil
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 s...@weilnetz.de ---

Re: [Qemu-devel] [PATCH] qdev: Fix memory leak in function set_pci_devfn

2012-04-28 Thread Andreas Färber
Am 28.04.2012 14:32, schrieb Stefan Weil: 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).