diff options
| author | Dinghao Liu <dinghao.liu@zju.edu.cn> | 2021-01-02 13:47:55 +0800 |
|---|---|---|
| committer | Marcel Holtmann <marcel@holtmann.org> | 2021-01-06 08:46:10 +0100 |
| commit | 71f8e707557b9bc25dc90a59a752528d4e7c1cbf (patch) | |
| tree | d29b4f2262c4f6b1c49e60983df3861fba3d8aad /lib/mpi/mpi-sub-ui.c | |
| parent | f272f185d259e2d574b4868fe8fb0ee56f3c2cfa (diff) | |
Bluetooth: hci_qca: Fix memleak in qca_controller_memdump
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>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions
