[libvirt] [PATCH] storage: Avoid leak in virStorageUtilGlusterExtractPoolSources()

Andrea Bolognani abologna at redhat.com
Thu Apr 6 07:42:15 UTC 2017


On Thu, 2017-04-06 at 08:29 +0200, Peter Krempa wrote:
> > If you went with this option, then VIR_STEAL_PTR(src->dir, volname); and
> > VIR_STEAL_PTR(src->name, volname); instead of inlining.
> 
> I vote for this.
> 
> > And as some would say the comment is "obvious".
> 
> And for this.

Me too. I apparently forgot how to VIR_STEAL_PTR() :/

v2 coming right up.

-- 
Andrea Bolognani / Red Hat / Virtualization




More information about the libvir-list mailing list