KVM: Fix pit memory leak if unable to allocate irq source id
authorAvi Kivity <avi@redhat.com>
Tue, 11 Nov 2008 11:09:36 +0000 (13:09 +0200)
committerAvi Kivity <avi@redhat.com>
Tue, 11 Nov 2008 19:01:51 +0000 (21:01 +0200)
commite17d1dc0863767bab8fde4ba9be92c7f79e7fe50
tree79ae45dbe65c8e47b0eac7a21affb833bc6dc4f0
parentc60ff51eb26dfcfb0bdc807b09a096aeadd01325
KVM: Fix pit memory leak if unable to allocate irq source id

Reported-By: Daniel Marjamäki <danielm77@spray.se>
Signed-off-by: Avi Kivity <avi@qumranet.com>
arch/x86/kvm/i8254.c