mirror of
https://github.com/apache/nuttx.git
synced 2025-12-07 01:44:23 +08:00
wireless/bluetooth: destroy nxsem properly
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user