diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2024-02-28 19:17:24 +0300 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2024-03-07 01:26:23 +0300 |
commit | 79f4127a502c5905f04da1f20a7bbe07103fb77c (patch) | |
tree | 3f3ba4d8ffd080adc190ec940a7d4fb6c4b0ea8b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | a6e06258f4c31eba0fcd503e19828b5f8fe7b08b (diff) | |
download | linux-79f4127a502c5905f04da1f20a7bbe07103fb77c.tar.xz |
Bluetooth: btusb: Fix memory leak
This checks if CONFIG_DEV_COREDUMP is enabled before attempting to clone
the skb and also make sure btmtk_process_coredump frees the skb passed
following the same logic.
Fixes: 0b7015132878 ("Bluetooth: btusb: mediatek: add MediaTek devcoredump support")
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions