mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
xen/evtchn: double free on error
The call to del_evtchn() frees "evtchn". Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Konrad Rzeszutek Wilk <[email protected]>
This commit is contained in:
parent
a5deabe0e6
commit
06b35d0072
1 changed files with 0 additions and 1 deletions
|
|
@ -319,7 +319,6 @@ err:
|
|||
if (HYPERVISOR_event_channel_op(EVTCHNOP_close, &close) != 0)
|
||||
BUG();
|
||||
del_evtchn(u, evtchn);
|
||||
kfree(evtchn);
|
||||
return rc;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue