mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-24 14:45:24 +00:00
storage: Resource resource leak using 'tmp_vols'
This commit is contained in:
parent
159f59f34a
commit
0f45d8a263
@ -1197,6 +1197,7 @@ storagePoolListAllVolumes(virStoragePoolPtr pool,
|
||||
if (tmp_vols[i])
|
||||
virStorageVolFree(tmp_vols[i]);
|
||||
}
|
||||
VIR_FREE(tmp_vols);
|
||||
}
|
||||
|
||||
if (obj)
|
||||
|
Loading…
Reference in New Issue
Block a user