mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-21 20:15:17 +00:00
tests: qemu: use VIR_AUTOSTRINGLIST where possible
Signed-off-by: Ján Tomko <jtomko@redhat.com> Reviewed-by: Laine Stump <laine@redhat.com>
This commit is contained in:
parent
bcbb026993
commit
51be622d76
@ -130,7 +130,7 @@ static virStorageVolPtr
|
||||
fakeStorageVolLookupByName(virStoragePoolPtr pool,
|
||||
const char *name)
|
||||
{
|
||||
char **volinfo = NULL;
|
||||
VIR_AUTOSTRINGLIST volinfo = NULL;
|
||||
virStorageVolPtr ret = NULL;
|
||||
|
||||
if (STREQ(pool->name, "inactive")) {
|
||||
@ -158,7 +158,6 @@ fakeStorageVolLookupByName(virStoragePoolPtr pool,
|
||||
NULL, NULL);
|
||||
|
||||
cleanup:
|
||||
virStringListFree(volinfo);
|
||||
return ret;
|
||||
|
||||
fallback:
|
||||
|
Loading…
x
Reference in New Issue
Block a user