mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-12 07:42:56 +00:00
test: Resource resource leak with 'tmp_vols'
This commit is contained in:
parent
af3262e26f
commit
159f59f34a
@ -4687,6 +4687,7 @@ testStoragePoolListAllVolumes(virStoragePoolPtr obj,
|
|||||||
if (tmp_vols[i])
|
if (tmp_vols[i])
|
||||||
virStorageVolFree(tmp_vols[i]);
|
virStorageVolFree(tmp_vols[i]);
|
||||||
}
|
}
|
||||||
|
VIR_FREE(tmp_vols);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (pool)
|
if (pool)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user