diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2013-08-26 16:18:17 (GMT) |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2013-08-30 12:44:53 (GMT) |
commit | 06b35d0072d2a126d8cd134b253e5ec65beb9e66 (patch) | |
tree | 748ed12b2f0cfa7ae6a63219b7571ad947923b40 /drivers/xen | |
parent | a5deabe0e62203350369020687c3fc3b7445a0d0 (diff) | |
download | linux-06b35d0072d2a126d8cd134b253e5ec65beb9e66.tar.xz |
xen/evtchn: double free on error
The call to del_evtchn() frees "evtchn".
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'drivers/xen')
-rw-r--r-- | drivers/xen/evtchn.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/xen/evtchn.c b/drivers/xen/evtchn.c index f328f12..8b3a69a 100644 --- a/drivers/xen/evtchn.c +++ b/drivers/xen/evtchn.c @@ -319,7 +319,6 @@ err: if (HYPERVISOR_event_channel_op(EVTCHNOP_close, &close) != 0) BUG(); del_evtchn(u, evtchn); - kfree(evtchn); return rc; } |