mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-27 02:51:16 +00:00
Fix a locking issue in PoolGetAutostart.
This commit is contained in:
parent
52037657dc
commit
3130848a10
@ -1,6 +1,10 @@
|
|||||||
|
Thu Dec 11 09:58:49 EST 2008 Cole Robinson <crobinso@redhat.com>
|
||||||
|
|
||||||
|
* src/storage_driver.c : Fix a locking issue in PoolGetAutostart
|
||||||
|
|
||||||
Thu Dec 11 09:55:23 EST 2008 Cole Robinson <crobinso@redhat.com>
|
Thu Dec 11 09:55:23 EST 2008 Cole Robinson <crobinso@redhat.com>
|
||||||
|
|
||||||
* src/netork_driver.c src/qemu_conf.c: Fix segfault if virtual
|
* src/network_driver.c src/qemu_conf.c: Fix segfault if virtual
|
||||||
network does not have a bridge name.
|
network does not have a bridge name.
|
||||||
|
|
||||||
Thu Dec 11 12:39:20 CET 2008 Daniel Veillard <veillard@redhat.com>
|
Thu Dec 11 12:39:20 CET 2008 Daniel Veillard <veillard@redhat.com>
|
||||||
|
@ -911,8 +911,9 @@ storagePoolGetAutostart(virStoragePoolPtr obj,
|
|||||||
}
|
}
|
||||||
ret = 0;
|
ret = 0;
|
||||||
|
|
||||||
return 0;
|
|
||||||
cleanup:
|
cleanup:
|
||||||
|
if (pool)
|
||||||
|
virStoragePoolObjUnlock(pool);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user