]> git.baikalelectronics.ru Git - kernel.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, 24 Oct 2012 22:46:27 +0000 (15:46 -0700)
commit4f74c0adc6c8bc23c105a18c9a7d19e4fc29e24a
tree10cb9a50ac0cf48f20a5068bd8499f317fb00226
parente394bd4db61dffa88789273cc7d4faf4c3eaf5c2
Drivers: hv: Cleanup error handling in vmbus_open()

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>
Cc: Stable <stable@vger.kernel.org>
Acked-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hv/channel.c