]> xenbits.xensource.com Git - libvirt.git/commit
test: Use VIR_AUTOFREE for test driver
authorJohn Ferlan <jferlan@redhat.com>
Fri, 1 Feb 2019 13:54:56 +0000 (08:54 -0500)
committerJohn Ferlan <jferlan@redhat.com>
Tue, 12 Feb 2019 13:51:23 +0000 (08:51 -0500)
commitceb3255cdfc3ec5390a9cf5b56d9050d4f0af26e
treed4d32bda4d41bb67f6beade1bbe17e218e7e944f
parentba045165d4d5b093d26f953d9fc676ccd0470eb6
test: Use VIR_AUTOFREE for test driver

Let's make use of the auto __cleanup capabilities cleaning up any
now unnecessary goto paths.

Signed-off-by: John Ferlan <jferlan@redhat.com>
Reviewed-by: Erik Skultety <eskultet@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/test/test_driver.c