On 07/28/2016 08:38 AM, marcandre.lureau@redhat.com wrote: > From: Marc-André Lureau > > The path is allocated and should be freed. > > The qmp response should be unref, but then 'machine' must be duplicated. > > Use a destroy function for the PCTestData. > > Signed-off-by: Marc-André Lureau > --- > tests/pc-cpu-test.c | 24 +++++++++++++++++++----- > 1 file changed, 19 insertions(+), 5 deletions(-) > Reviewed-by: Eric Blake -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org