]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
committerBen Hutchings <ben@decadent.org.uk>
Tue, 30 Oct 2012 23:26:59 +0000 (23:26 +0000)
commit9f9f1c8ccd02d7eb704105833f959a2b96876544
tree2f122e5b548f93bce6ebaf966988e46a7c845ed6
parent0687fd33e67b20ac425eac5f6736f8b4283f4eb9
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>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/hv/channel.c