* src/storage_driver.c: fix a segfault, patch by Miloslav TrmaC

daniel
This commit is contained in:
Daniel Veillard committed 2008-12-15 15:34:30 +00:00
1 parent 43b897c17a
commit e4471a7ac7
2 files changed
+5 -1

No files matched your search

+4
View File
@@ -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
+1 -1
View File
@@ -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);