On Wed, Mar 06, 2019 at 09:20:40AM +0100, Peter Krempa wrote:
Use VIR_AUTOCLEAN to avoid leaking the buffer on error path and get
rid
of resetting mid loop since virXMLFormatElement does the reset
internally.
Signed-off-by: Peter Krempa <pkrempa(a)redhat.com>
---
src/conf/domain_conf.c | 23 ++++++-----------------
1 file changed, 6 insertions(+), 17 deletions(-)
Reviewed-by: Ján Tomko <jtomko(a)redhat.com>
Jano