On Fri, Oct 12, 2012 at 01:22:42PM -0700, K. Y. Srinivasan wrote:
> -errorout:
> - hv_ringbuffer_cleanup(&newchannel->outbound);
> - hv_ringbuffer_cleanup(&newchannel->inbound);
> +error1:
> + spin_lock_irqsave(&vmbus_connection.channelmsg_lock, flags);
> + list_del(&open_info->msgl
Fix a memory leak in the error handling path in the function vmbus_open().
Signed-off-by: K. Y. Srinivasan
Reviewed-by: Haiyang Zhang
Reported-by: Jason Wang
Cc: Stable
---
drivers/hv/channel.c | 24 +---
1 files changed, 13 insertions(+), 11 deletions(-)
diff --git a/
2 matches
Mail list logo