mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-24 14:45:24 +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])
|
||||
virStorageVolFree(tmp_vols[i]);
|
||||
}
|
||||
VIR_FREE(tmp_vols);
|
||||
}
|
||||
|
||||
if (pool)
|
||||
|
Loading…
Reference in New Issue
Block a user