Commit a2468a4c authored by yonghong-song's avatar yonghong-song Committed by GitHub

Merge pull request #1629 from nirmoy/fix_fd_leakage

fix fd leakage
parents 7cfb73b5 2f2412ad
......@@ -408,6 +408,8 @@ int bpf_prog_compute_tag(const struct bpf_insn *insns, int prog_len,
return -1;
}
*ptag = __builtin_bswap64(u.tag);
close(shafd2);
close(shafd);
return 0;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment