Re: [PATCH 13/23] virshGetOneDisplay: Automaticaly free extracted data

2022-03-02 Thread Ján Tomko
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

[PATCH 13/23] virshGetOneDisplay: Automaticaly free extracted data

2022-03-02 Thread Peter Krempa
Use automatic memory freeing for the temporary variables hodling the 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 --- tools/virsh-domain.c | 49