summaryrefslogtreecommitdiffstats
path: root/drivers/staging/hv/ChannelMgmt.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/hv/ChannelMgmt.c')
-rw-r--r--drivers/staging/hv/ChannelMgmt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/hv/ChannelMgmt.c b/drivers/staging/hv/ChannelMgmt.c
index 2c4f4c8..7ef1f2b 100644
--- a/drivers/staging/hv/ChannelMgmt.c
+++ b/drivers/staging/hv/ChannelMgmt.c
@@ -762,7 +762,7 @@ VmbusChannelRequestOffers(
Cleanup:
if (msgInfo)
{
- WaitEventClose(msgInfo->WaitEvent);
+ kfree(msgInfo->WaitEvent);
kfree(msgInfo);
}
OpenPOWER on IntegriCloud