
2 Mar
2022
2 Mar
'22
10:08 a.m.
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@redhat.com> --- tools/virsh-domain.c | 49 ++++++++++++++------------------------------ 1 file changed, 15 insertions(+), 34 deletions(-)
Reviewed-by: Ján Tomko <jtomko@redhat.com> Jano