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>
Wed, 12 May 2010 21:57:04 +0000 (14:57 -0700)
commit96f0910dd3e79dcda84daa963ddb435a93025a9d
treebfd613938d9b4d5e941ead2423b1a4522b0689e2
parent874d2445cbffe3a89e31a82286ab86bab376680b
Staging: hv: Fix up memory leak on HvCleanup

commit fa8ad0257ea256381126ecf447694622216c600f upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/Hv.c