[libvirt PATCH 06/10] virDomainNumaDefParseXML: Use g_autofree
Laine Stump
laine at redhat.com
Tue May 11 17:06:12 UTC 2021
On 5/11/21 11:01 AM, Tim Wiederhake wrote:
> }
>
> VIR_FREE(nodes);
> if ((n = virXPathNodeSet("./cpu/numa[1]/interconnects[1]/latency|"
> "./cpu/numa[1]/interconnects[1]/bandwidth", ctxt, &nodes)) <
Again, the VIR_FREE(nodes) points out that you're re-using a g_autofree
pointer, and should instead use two separate pointers.
More information about the libvir-list
mailing list