On a Thursday in 2022, Peter Krempa wrote:
Calculate the length of the FD list beforehand to avoid multiple
expansions and mainly simplify the code and use automatic freeing to
remove the error code path.
Signed-off-by: Peter Krempa
---
tools/virsh-domain.c | 18 +++---
1 file
Calculate the length of the FD list beforehand to avoid multiple
expansions and mainly simplify the code and use automatic freeing to
remove the error code path.
Signed-off-by: Peter Krempa
---
tools/virsh-domain.c | 18 +++---
1 file changed, 7 insertions(+), 11 deletions(-)
diff