On 06.05.2012 19:39, Matthias Bolte wrote: > Appending an item to a list transfers ownership of that item to the > list owner. But an error can occur in between item allocation and > appending it to the list. In this case the item has to be freed > explicitly. This was not done in some special cases resulting in > possible memory leaks. > > Reported by Coverity. > --- > > This is actually a v2 for this patch > > https://www.redhat.com/archives/libvir-list/2012-May/msg00115.html > > src/esx/esx_driver.c | 16 ++++++++++-- > src/esx/esx_vi.c | 63 ++++++++++++++++++++++++++++++++++++++++++-------- > 2 files changed, 66 insertions(+), 13 deletions(-) > ACK Michal -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list