On 6/11/21 4:48 PM, Peter Krempa wrote:
The new version allows passing a virBuffer to format the string
into.
This will be helpful in solving a memory lean in wrong usage of
*leak
Jano
virCommandToString and also in tests where we need to add a newline
after the command in certain cases.
Signed-off-by: Peter Krempa <pkrempa(a)redhat.com>
---
src/libvirt_private.syms | 1 +
src/util/vircommand.c | 50 +++++++++++++++++++++++++---------------
src/util/vircommand.h | 4 ++++
3 files changed, 37 insertions(+), 18 deletions(-)