Messages in this thread | | | Subject | Re: [PATCH] Bluetooth: hci_qca: Fix memleak in qca_controller_memdump | From | Marcel Holtmann <> | Date | Wed, 6 Jan 2021 08:50:19 +0100 |
| |
Hi Dinghao,
> When __le32_to_cpu() fails, qca_memdump should be freed > just like when vmalloc() fails. > > Fixes: d841502c79e3f ("Bluetooth: hci_qca: Collect controller memory dump during SSR") > Signed-off-by: Dinghao Liu <dinghao.liu@zju.edu.cn> > --- > drivers/bluetooth/hci_qca.c | 2 ++ > 1 file changed, 2 insertions(+)
patch has been to bluetooth-next tree.
Regards
Marcel
| |