On a Wednesday in 2022, Peter Krempa wrote:
Use automatic memory freeing for the temporary variables hodling the
*holding
data extracted from the XML.
The code in this function was originally extracted from a loop so we can
also drop pre-clearing of the pointers.
Signed-off-by: Peter Krempa <pkrempa(a)redhat.com>
---
tools/virsh-domain.c | 49 ++++++++++++++------------------------------
1 file changed, 15 insertions(+), 34 deletions(-)
Reviewed-by: Ján Tomko <jtomko(a)redhat.com>
Jano