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 <[email protected]>
---
src/conf/domain_conf.c | 23 ++++++-----------------
1 file changed, 6 insertions(+), 17 deletions(-)


Reviewed-by: Ján Tomko <[email protected]>

Jano

Attachment: signature.asc
Description: PGP signature

--
libvir-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to