diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2013-08-26 19:18:17 +0300 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2013-08-30 08:44:53 -0400 |
commit | 06b35d0072d2a126d8cd134b253e5ec65beb9e66 (patch) | |
tree | 748ed12b2f0cfa7ae6a63219b7571ad947923b40 | |
parent | a5deabe0e62203350369020687c3fc3b7445a0d0 (diff) |
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>
-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 f328f121c92..8b3a69a06c3 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; } |