Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 186058
b: refs/heads/master
c: 1ae77ba
h: refs/heads/master
v: v3
  • Loading branch information
Wei Yongjun authored and Marcelo Tosatti committed Mar 1, 2010
1 parent 108b886 commit 4618326
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d225f53b76f4287365efd381b9e3a732e6bad27e
refs/heads/master: 1ae77badc2504d157800f10a81a58cc9c941e7cb
4 changes: 3 additions & 1 deletion trunk/virt/kvm/ioapic.c
Original file line number Diff line number Diff line change
Expand Up @@ -393,8 +393,10 @@ int kvm_ioapic_init(struct kvm *kvm)
mutex_lock(&kvm->slots_lock);
ret = kvm_io_bus_register_dev(kvm, KVM_MMIO_BUS, &ioapic->dev);
mutex_unlock(&kvm->slots_lock);
if (ret < 0)
if (ret < 0) {
kvm->arch.vioapic = NULL;
kfree(ioapic);
}

return ret;
}
Expand Down

0 comments on commit 4618326

Please sign in to comment.