Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 186057
b: refs/heads/master
c: d225f53
h: refs/heads/master
i:
  186055: 8f1f137
v: v3
  • Loading branch information
Wei Yongjun authored and Marcelo Tosatti committed Mar 1, 2010
1 parent 474c06e commit 108b886
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: a19a6d1131c77822ae55f84a1bd6d62327e99287
refs/heads/master: d225f53b76f4287365efd381b9e3a732e6bad27e
5 changes: 3 additions & 2 deletions trunk/arch/x86/kvm/i8254.c
Original file line number Diff line number Diff line change
Expand Up @@ -663,8 +663,9 @@ struct kvm_pit *kvm_create_pit(struct kvm *kvm, u32 flags)
kvm_io_bus_unregister_dev(kvm, KVM_PIO_BUS, &pit->dev);

fail:
if (pit->irq_source_id >= 0)
kvm_free_irq_source_id(kvm, pit->irq_source_id);
kvm_unregister_irq_mask_notifier(kvm, 0, &pit->mask_notifier);
kvm_unregister_irq_ack_notifier(kvm, &pit_state->irq_ack_notifier);
kvm_free_irq_source_id(kvm, pit->irq_source_id);

kfree(pit);
return NULL;
Expand Down

0 comments on commit 108b886

Please sign in to comment.