selftests/bpf: fix file resource leak in load_kallsyms

FILE pointer variable f is opened but never closed.

Signed-off-by: Peng Hao <peng.hao2@zte.com.cn>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
This commit is contained in:
Peng Hao 2018-10-18 23:18:36 +08:00 • committed by Daniel Borkmann
commit 1bd70d2eba