Re: [libvirt] [PATCH v3 01/10] conf: Rework virDomainEmulatorPinDefParseXML

2019-03-04 Thread Ján Tomko
On Fri, Mar 01, 2019 at 11:26:43AM -0500, John Ferlan wrote: In preparation for using auto free mechanism, change to using the VIR_STEAL_PTR on @def to @ret and of course be sure to properly clean up @def in cleanup. Signed-off-by: John Ferlan Reviewed-by: Erik Skultety --- src/conf/domain_con

[libvirt] [PATCH v3 01/10] conf: Rework virDomainEmulatorPinDefParseXML

2019-03-01 Thread John Ferlan
In preparation for using auto free mechanism, change to using the VIR_STEAL_PTR on @def to @ret and of course be sure to properly clean up @def in cleanup. Signed-off-by: John Ferlan Reviewed-by: Erik Skultety --- src/conf/domain_conf.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions