commit | ba60c41ae392b473a1897faa0b8739fcb8759d69 | [log] [tgz] |
---|---|---|
author | Sudip Mukherjee <sudipm.mukherjee@gmail.com> | Wed Sep 02 12:33:53 2015 +0530 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Tue Sep 08 11:16:41 2015 +0200 |
tree | fb8a2bf4cde5d8de4ca4cf3781e7659d002a91c9 | |
parent | 3dfe6a507353f3253c8136734d94bfdb459fa04d [diff] |
kvm: irqchip: fix memory leak We were taking the exit path after checking ue->flags and return value of setup_routing_entry(), but 'e' was not freed incase of a failure. Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>