mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
* src/storage_driver.c: fix a segfault, patch by Miloslav TrmaC
daniel
This commit is contained in:
parent
43b897c17a
commit
e4471a7ac7
@ -1,3 +1,7 @@
|
||||
Mon Dec 15 16:33:25 CET 2008 Daniel Veillard <veillard@redhat.com>
|
||||
|
||||
* src/storage_driver.c: fix a segfault, patch by Miloslav TrmaC
|
||||
|
||||
Mon Dec 15 10:59:19 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
|
||||
|
||||
* src/domain_conf.c: Unlock domain object after fetching
|
||||
|
@ -1235,9 +1235,9 @@ storageVolumeCreateXML(virStoragePoolPtr obj,
|
||||
}
|
||||
|
||||
pool->volumes.objs[pool->volumes.count++] = vol;
|
||||
vol = NULL;
|
||||
|
||||
ret = virGetStorageVol(obj->conn, pool->def->name, vol->name, vol->key);
|
||||
vol = NULL;
|
||||
|
||||
cleanup:
|
||||
virStorageVolDefFree(vol);
|
||||
|
Loading…
Reference in New Issue
Block a user