]> 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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 31 Oct 2012 17:10:01 +0000 (10:10 -0700)
commit2084022fc8385c62e45b1913923384c9ec890192
tree2937e0e07114dd8400e621cf638baf7497d175ce
parent3ed2bcc63a56f5b8983ecfc4de37fa70d7e2e380
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