]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virTestCompareToULL: Use VIR_AUTOFREE()
authorMichal Privoznik <mprivozn@redhat.com>
Wed, 20 Feb 2019 13:12:09 +0000 (14:12 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 20 Feb 2019 14:53:32 +0000 (15:53 +0100)
commit86d1f08669225dcd565d291d9a952dab95d681b6
treec014c7060fe86dcce1f43b9251136d39fa26bd57
parent939f2542342d9d7caf26b05e3e693d664acbb625
virTestCompareToULL: Use VIR_AUTOFREE()

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@redhat.com>
Reviewed-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
tests/testutils.c