xen/evtchn: double free on error
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 26 Aug 2013 16:18:17 +0000 (19:18 +0300)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Fri, 30 Aug 2013 12:44:53 +0000 (08:44 -0400)
commit06b35d0072d2a126d8cd134b253e5ec65beb9e66
tree748ed12b2f0cfa7ae6a63219b7571ad947923b40
parenta5deabe0e62203350369020687c3fc3b7445a0d0
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>
drivers/xen/evtchn.c