tools/hv: Fix file handle leak
authorBen Hutchings <ben@decadent.org.uk>
Wed, 5 Sep 2012 21:37:35 +0000 (14:37 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 10 Sep 2012 23:43:05 +0000 (16:43 -0700)
commitd5ab482799e7c4c4b7c0aa67e8710dce28115d03
treeaffcbb7e65183de0a42f700666c4328ac5f3fd86
parent16e87100e62330cb1e58ee772cacb7d4e6d5b61b
tools/hv: Fix file handle leak

Match up each fopen() with an fclose().

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
tools/hv/hv_kvp_daemon.c