Loading
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: 9a24ce5e ("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>