From: Hou Tao <houtao1@xxxxxxxxxx> Hi, The tiny patch set aims to fix two problems found during the development of supporting dynptr key in hash table. Patch #1 fixes the missed btf_record_free() when map creation fails and patch #2 fixes the missed kfree() when there is no special field in the passed btf. Comments are always welcome. Hou Tao (2): bpf: Call the missed btf_record_free() when map creation fails bpf: Call the missed kfree() when there is no special field in btf kernel/bpf/btf.c | 4 +++- kernel/bpf/syscall.c | 19 ++++++++++++------- 2 files changed, 15 insertions(+), 8 deletions(-) -- 2.29.2