diff options
author | Moshe Shemesh <[email protected]> | 2023-02-06 17:56:16 +0200 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-02-07 20:21:33 -0800 |
commit | cb6b2e11a42decea2afc77df73ec7326db1ac25f (patch) | |
tree | 1699233ca015a03745147fc6603cf28e61e1e378 /tools/perf/scripts/python/intel-pt-events.py | |
parent | f817554786ddc75e0960ea542061fc43a1f2f7e2 (diff) |
devlink: Fix memleak in health diagnose callback
The callback devlink_nl_cmd_health_reporter_diagnose_doit() miss
devlink_fmsg_free(), which leads to memory leak.
Fix it by adding devlink_fmsg_free().
Fixes: e994a75fb7f9 ("devlink: remove reporter reference counting")
Signed-off-by: Moshe Shemesh <[email protected]>
Reviewed-by: Jiri Pirko <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions