Commit ca7a5ba
Alexei Starovoitov
Merge branch 'two-tiny-fixes-for-btf-record'
Hou Tao says:
====================
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.
====================
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>2 files changed
+15
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5572 | 5572 | | |
5573 | 5573 | | |
5574 | 5574 | | |
5575 | | - | |
| 5575 | + | |
| 5576 | + | |
5576 | 5577 | | |
| 5578 | + | |
5577 | 5579 | | |
5578 | 5580 | | |
5579 | 5581 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
735 | 735 | | |
736 | 736 | | |
737 | 737 | | |
738 | | - | |
739 | | - | |
| 738 | + | |
740 | 739 | | |
741 | | - | |
742 | 740 | | |
743 | 741 | | |
744 | 742 | | |
745 | | - | |
746 | | - | |
747 | 743 | | |
748 | 744 | | |
749 | 745 | | |
| |||
762 | 758 | | |
763 | 759 | | |
764 | 760 | | |
| 761 | + | |
| 762 | + | |
| 763 | + | |
| 764 | + | |
| 765 | + | |
| 766 | + | |
| 767 | + | |
| 768 | + | |
| 769 | + | |
| 770 | + | |
765 | 771 | | |
766 | 772 | | |
767 | 773 | | |
| |||
1413 | 1419 | | |
1414 | 1420 | | |
1415 | 1421 | | |
1416 | | - | |
1417 | | - | |
| 1422 | + | |
1418 | 1423 | | |
1419 | 1424 | | |
1420 | 1425 | | |
| |||
0 commit comments