[Libvirt-cim] [PATCH 1/2] libxkutil: Plug memory leaks in device parsing

Viktor Mihajlovski mihajlov at linux.vnet.ibm.com
Thu Sep 12 08:27:33 UTC 2013


On 09/11/2013 11:14 PM, John Ferlan wrote:
[...]
>>           *vdevs = vdev;
>
> Since vdev is going to be returned - we'll need to :
>
>             vdev = NULL;
>
> here, which I've done and tested successfully. I'll squash before push.
embarrassing ... I'm really glad you caught this (no wonder the leaks
were gone :-)

-- 

Mit freundlichen Grüßen/Kind Regards
    Viktor Mihajlovski

IBM Deutschland Research & Development GmbH
Vorsitzender des Aufsichtsrats: Martina Köderitz
Geschäftsführung: Dirk Wittkopp
Sitz der Gesellschaft: Böblingen
Registergericht: Amtsgericht Stuttgart, HRB 243294




More information about the Libvirt-cim mailing list