Fix a locking issue in PoolGetAutostart.

This commit is contained in:
Cole Robinson 2008-12-11 15:00:12 +00:00
parent 52037657dc
commit 3130848a10
2 changed files with 7 additions and 2 deletions

View File

@ -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>
* 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.
Thu Dec 11 12:39:20 CET 2008 Daniel Veillard <veillard@redhat.com>

View File

@ -911,8 +911,9 @@ storagePoolGetAutostart(virStoragePoolPtr obj,
}
ret = 0;
return 0;
cleanup:
if (pool)
virStoragePoolObjUnlock(pool);
return ret;
}