| commit | 4b2f4e072fb2599b6a2e5e277f0d2b5705eaa630 | [log] [tgz] |
|---|---|---|
| author | Dan Carpenter <dan.carpenter@oracle.com> | Tue Jul 26 18:13:44 2022 +0300 |
| committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | Tue Jul 26 13:32:40 2022 -0700 |
| tree | 68400f3da6163d14d7ca656cc832ab48a4757156 | |
| parent | 9b134b1694ec8926926ba6b7b80884ea829245a0 [diff] |
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>