Commit 7409814
committed
btf_unit_test: Fix small leak
If init_btf_info_via_bpf_object() fails, then we should release bpf_object.
Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>1 parent f14a20a commit 7409814
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
| 127 | + | |
127 | 128 | | |
128 | 129 | | |
129 | 130 | | |
| |||
0 commit comments