diff options
| author | Abdun Nihaal <nihaal@cse.iitm.ac.in> | 2025-10-28 23:26:30 +0530 |
|---|---|---|
| committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2025-10-31 12:42:47 -0400 |
| commit | 1c21cf89a66413eb04b2d22c955b7a50edc14dfa (patch) | |
| tree | 0ec9e46267841c1c41252b1183d1867b2c04d695 /scripts/lib/kdoc/kdoc_parser.py | |
| parent | 5c5f1f64681cc889d9b13e4a61285e9e029d6ab5 (diff) | |
Bluetooth: btrtl: Fix memory leak in rtlbt_parse_firmware_v2()
The memory allocated for ptr using kvmalloc() is not freed on the last
error path. Fix that by freeing it on that error path.
Fixes: 9a24ce5e29b1 ("Bluetooth: btrtl: Firmware format v2 support")
Signed-off-by: Abdun Nihaal <nihaal@cse.iitm.ac.in>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions
