Commit 4b2f4e0
Bluetooth: mgmt: Fix double free on error path
Don't call mgmt_pending_remove() twice (double free).
Fixes: 6b88eff43704 ("Bluetooth: hci_sync: Refactor remove Adv Monitor")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>1 parent 9b134b1 commit 4b2f4e0
1 file changed
+0
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4723 | 4723 | | |
4724 | 4724 | | |
4725 | 4725 | | |
4726 | | - | |
4727 | 4726 | | |
4728 | 4727 | | |
4729 | 4728 | | |
| |||
0 commit comments