projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5deabe
)
xen/evtchn: double free on error
author
Dan Carpenter
<dan.carpenter@oracle.com>
Mon, 26 Aug 2013 16:18:17 +0000
(19:18 +0300)
committer
Konrad Rzeszutek Wilk
<konrad.wilk@oracle.com>
Fri, 30 Aug 2013 12:44:53 +0000
(08:44 -0400)
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>
drivers/xen/evtchn.c
patch
|
blob
|
history
diff --git
a/drivers/xen/evtchn.c
b/drivers/xen/evtchn.c
index
f328f12
..
8b3a69a
100644
(file)
--- 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;
}