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

2019-02-22 Thread Andrea Bolognani
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 > --- > tests/testutils.c | 17

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

2019-02-20 Thread Ján Tomko
On Wed, Feb 20, 2019 at 02:20:08PM +0100, Michal Privoznik wrote: In order to save a few lines of code, and also since it's hype let's use VIR_AUTOFREE() for the two strings we allocate there. Signed-off-by: Michal Privoznik --- tests/testutils.c | 17 + 1 file changed, 5

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

2019-02-20 Thread Michal Privoznik
In order to save a few lines of code, and also since it's hype let's use VIR_AUTOFREE() for the two strings we allocate there. Signed-off-by: Michal Privoznik --- tests/testutils.c | 17 + 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/tests/testutils.c