]> Pileus Git - ~andy/linux/commit
KVM: PPC: fix couple of memory leaks in MPIC/XICS devices
authorGleb Natapov <gleb@redhat.com>
Sun, 1 Sep 2013 12:53:46 +0000 (15:53 +0300)
committerAlexander Graf <agraf@suse.de>
Thu, 9 Jan 2014 09:14:54 +0000 (10:14 +0100)
commit458ff3c099a1266991208f2c009afc2405e5b6bc
treef8fa168d2d33e3a0ed42b3a3a4644257364fc55d
parent398a76c677a2612c1b03a8d20fbf116e3778ebec
KVM: PPC: fix couple of memory leaks in MPIC/XICS devices

XICS failed to free xics structure on error path. MPIC destroy handler
forgot to delete kvm_device structure.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Acked-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/kvm/book3s_xics.c
arch/powerpc/kvm/mpic.c