On Thu, Mar 10, 2016 at 10:03:53 +0100, Peter Krempa wrote: > Memory returned from virStringSplit shall be freed with > virStringFreeList rather than VIR_FREE. Introduced in commit 511e7c5b. > > Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1316433 > --- > src/qemu/qemu_driver.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c > index c1bae52..1d4b6ed 100644 > --- a/src/qemu/qemu_driver.c > +++ b/src/qemu/qemu_driver.c > @@ -1433,7 +1433,7 @@ qemuGetSchedInfo(unsigned long long *cpuWait, > cleanup: > VIR_FREE(data); > VIR_FREE(proc); > - VIR_FREE(lines); > + virStringFreeList(lines); > return ret; > } > ACK Jirka -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list