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

Ján Tomko jtomko at redhat.com
Wed Feb 20 14:23:55 UTC 2019


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 <mprivozn at redhat.com>
>---
> tests/testutils.c | 17 +++++------------
> 1 file changed, 5 insertions(+), 12 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20190220/95ebe50b/attachment-0001.sig>


More information about the libvir-list mailing list