]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
Fix a locking issue in PoolGetAutostart.
authorCole Robinson <crobinso@redhat.com>
Thu, 11 Dec 2008 15:00:12 +0000 (15:00 +0000)
committerCole Robinson <crobinso@redhat.com>
Thu, 11 Dec 2008 15:00:12 +0000 (15:00 +0000)
ChangeLog
src/storage_driver.c

index 5d39d14499c4a014abaef8c801622ceaf190d894..6028a4529d2b5b5238ce445cfd2d03c4e6b460b2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
index 63593cc9a1a6deb0350b506a1bd7d4021d9fb40a..2432a9a38ae8d4f3148a272efe6db6b1da43e964 100644 (file)
@@ -911,8 +911,9 @@ storagePoolGetAutostart(virStoragePoolPtr obj,
     }
     ret = 0;
 
-    return 0;
 cleanup:
+    if (pool)
+        virStoragePoolObjUnlock(pool);
     return ret;
 }