Drivers: hv: Cleanup error handling in vmbus_open()
authorK. Y. Srinivasan <kys@microsoft.com>
Fri, 12 Oct 2012 20:22:42 +0000 (13:22 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 31 Oct 2012 17:02:58 +0000 (10:02 -0700)
commit057f0772b32f9a162c5104b1928b5886f1b85059
treee2d4ad3692261993541387cadf75d932f3ca4e27
parent7b76336ec39f1af832ebd29add93cfe21e839581
Drivers: hv: Cleanup error handling in vmbus_open()

commit 1392550240aaa72ce3a094a38bd23525cd67ce60 upstream.

Fix a memory leak  in the error handling path in the function vmbus_open().

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Reviewed-by: Haiyang Zhang <haiyangz@microsoft.com>
Reported-by: Jason Wang <jasowang@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hv/channel.c