Skip to content
Commit ba60c41a authored by Sudip Mukherjee's avatar Sudip Mukherjee Committed by Paolo Bonzini
Browse files

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: default avatarSudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 3dfe6a50
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment