Hello: This patch was applied to bluetooth/bluetooth-next.git (master) by Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>: On Mon, 9 Jan 2023 13:22:37 -0800 you wrote: > From: Zhengchao Shao <shaozhengchao@xxxxxxxxxx> > > When hci_cmd_sync_queue() failed in hci_update_adv_data(), inst_ptr is > not freed, which will cause memory leak, convert to use ERR_PTR/PTR_ERR > to pass the instance to callback so no memory needs to be allocated. > > Fixes: 651cd3d65b0f ("Bluetooth: convert hci_update_adv_data to hci_sync") > Signed-off-by: Zhengchao Shao <shaozhengchao@xxxxxxxxxx> > Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx> > > [...] Here is the summary with links: - [v2] Bluetooth: hci_sync: fix memory leak in hci_update_adv_data() https://git.kernel.org/bluetooth/bluetooth-next/c/e8b5fd71713b You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html