x86/boot: Fix minor fd leakage in tools/relocs.c
authorCong Ding <dinggnu@gmail.com>
Mon, 14 Jan 2013 17:13:35 +0000 (17:13 +0000)
committerH. Peter Anvin <hpa@linux.intel.com>
Sun, 27 Jan 2013 18:24:28 +0000 (10:24 -0800)
commit65315d4889d403ea025081d8ca85ddf7b9c10f39
treed478fa660da8fc7ea029254ab746901aabb4c938
parent949db153b6466c6f7cad5a427ecea94985927311
x86/boot: Fix minor fd leakage in tools/relocs.c

The opened file should be closed.

Signed-off-by: Cong Ding <dinggnu@gmail.com>
Cc: Kusanagi Kouichi <slash@ac.auone-net.jp>
Cc: Jarkko Sakkinen <jarkko.sakkinen@intel.com>
Cc: Jiri Kosina <jkosina@suse.cz>
Cc: Matt Fleming <matt.fleming@intel.com>
Link: http://lkml.kernel.org/r/1358183628-27784-1-git-send-email-dinggnu@gmail.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/tools/relocs.c