diff options
author | Pan Bian <[email protected]> | 2021-01-21 06:57:38 -0800 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2021-01-23 13:19:56 -0800 |
commit | b6011966ac6f402847eb5326beee8da3a80405c7 (patch) | |
tree | 7a39aa2a6532a762293e9d2ba2c2858140b8aff8 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | cf3c46631e1637582f517a574c77cd6c05793817 (diff) |
chtls: Fix potential resource leak
The dst entry should be released if no neighbour is found. Goto label
free_dst to fix the issue. Besides, the check of ndev against NULL is
redundant.
Signed-off-by: Pan Bian <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions