wireless/bluetooth: destroy nxsem properly
This commit is contained in:
parent
873023f89b
commit
3e1c73f8c9
@ -1846,6 +1846,8 @@ int bt_hci_cmd_send_sync(uint16_t opcode, FAR struct bt_buf_s *buf,
|
||||
bt_buf_release(buf->u.hci.sync);
|
||||
}
|
||||
|
||||
nxsem_destroy(&sync_sem);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user