Re: [PATCH 01/22] util: command: Introduce virCommandToStringBuf

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
> ---
>  src/libvirt_private.syms |  1 +
>  src/util/vircommand.c    | 50 +++++++++++++++++++++++++---------------
>  src/util/vircommand.h    |  4 ++++
>  3 files changed, 37 insertions(+), 18 deletions(-)




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux