]> xenbits.xensource.com Git - libvirt.git/commitdiff
qemu: Re-add driver unlock to qemuDomainSendKey
authorViktor Mihajlovski <mihajlov@linux.vnet.ibm.com>
Wed, 23 Jan 2013 13:55:15 +0000 (14:55 +0100)
committerEric Blake <eblake@redhat.com>
Wed, 23 Jan 2013 22:01:07 +0000 (15:01 -0700)
Should have been done in commit 56fd513 already, but was missed
due to oversight: qemuDomainSendKey didn't release the driver lock
in its cleanup section. This fixes an issue introduced by commit
8c5d2ba.

Signed-off-by: Viktor Mihajlovski <mihajlov@linux.vnet.ibm.com>
src/qemu/qemu_driver.c

index 72907d212fb2da4e59780114010a5a8b19243467..6d4c1e9f18fb1ec3613f2c9c11d6c76d653cacd6 100644 (file)
@@ -2439,6 +2439,7 @@ endjob:
 cleanup:
     if (vm)
         virObjectUnlock(vm);
+    qemuDriverUnlock(driver);
     return ret;
 }