Commit 8fa1bcc
libbpf-tools/memleak: mmap allocation failed, not added to pointer map (iovisor#5138)
If mmap allocation failed, the address will not be added to pointer map.
Signed-off-by: Xiaobo Liu <[email protected]>1 parent e23168c commit 8fa1bcc
2 files changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
122 | | - | |
| 122 | + | |
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
0 commit comments