Re: [libvirt] [PATCH 1/3] conf: Alter when ctxt->node is set

2018-09-21 Thread Erik Skultety
On Thu, Sep 20, 2018 at 05:34:36PM -0400, John Ferlan wrote: > In virDomainMemoryDefParseXML and virDomainVideoDefParseXML if > the VIR_ALLOC fails and NULL is returned, then the alteration > to ctxt->node isn't reversed. > > Found by Coverity > > Signed-off-by: John Ferlan > --- Reviewed-by: Erik

[libvirt] [PATCH 1/3] conf: Alter when ctxt->node is set

2018-09-20 Thread John Ferlan
In virDomainMemoryDefParseXML and virDomainVideoDefParseXML if the VIR_ALLOC fails and NULL is returned, then the alteration to ctxt->node isn't reversed. Found by Coverity Signed-off-by: John Ferlan --- src/conf/domain_conf.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff