Staging: hv: Fix up memory leak on HvCleanup
authorCyrill Gorcunov <gorcunov@openvz.org>
Mon, 5 Apr 2010 16:56:57 +0000 (20:56 +0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 30 Apr 2010 16:30:09 +0000 (09:30 -0700)
commitfa8ad0257ea256381126ecf447694622216c600f
treed89c2ed6c0aa6b49fb9badc8d4132c6ddcd83b86
parent95beae90aa4afce57fb28e6f8238b78217bd7c98
Staging: hv: Fix up memory leak on HvCleanup

Don't assign NULL too early

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Cc: Hank Janssen <hjanssen@microsoft.com>
Cc: Haiyang Zhang <haiyangz@microsoft.com>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/Hv.c