[libvirt] [PATCH v2 1/3] virTestCompareToULL: Use VIR_AUTOFREE()

Andrea Bolognani abologna at redhat.com
Wed Feb 20 13:40:40 UTC 2019


On Wed, 2019-02-20 at 14:20 +0100, Michal Privoznik wrote:
> In order to save a few lines of code, and also since it's hype

https://i.imgflip.com/2u5fpr.jpg

> let's use VIR_AUTOFREE() for the two strings we allocate there.
> 
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> ---
>  tests/testutils.c | 17 +++++------------
>  1 file changed, 5 insertions(+), 12 deletions(-)

Reviewed-by: Andrea Bolognani <abologna at redhat.com>

-- 
Andrea Bolognani / Red Hat / Virtualization




More information about the libvir-list mailing list